3 matches found
CVE-2026-111439 pg_read_binary_file_blocks 缺少初始用户权限校验,普通用户可读取 relation 文件块
在 openGauss-server的 src/common/backend/utils/adt/genfile.cpp 模块中,内置函数 pgreadbinaryfileblocks 存在权限校验逻辑缺陷。该函数在入口处仅校验了起始块号(startBlockNum)和块数量(blockCount)的范围,随后直接调用底层文件读取例程 ReadBinaryFileBlocksFirstCall。该底层例程仅执行了路径规范化检查以及针对 .. 路径遍历和数据目录边界的基本检查,缺失了对调用者数据库权限(如 SELECT 权限)的校验。此外,辅助函数 isrowdatafile...
CVE-2026-111439 pg_read_binary_file_blocks 缺少初始用户权限校验,普通用户可读取 relation 文件块
在 openGauss-server的 src/common/backend/utils/adt/genfile.cpp 模块中,内置函数 pgreadbinaryfileblocks 存在权限校验逻辑缺陷。该函数在入口处仅校验了起始块号(startBlockNum)和块数量(blockCount)的范围,随后直接调用底层文件读取例程 ReadBinaryFileBlocksFirstCall。该底层例程仅执行了路径规范化检查以及针对 .. 路径遍历和数据目录边界的基本检查,缺失了对调用者数据库权限(如 SELECT 权限)的校验。此外,辅助函数 isrowdatafile...
CVE-2026-111439
The openGauss-server software contains a permission validation logic flaw within the src/common/backend/utils/adt/genfile.cpp module, specifically in the pg_read_binary_file_blocks() built-in function. The vulnerability exists because the function only validates the range of the start block numbe...