原始描述
Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.
受影响的软件
- PostgreSQL ≥ 14.0 < 14.8≥ 11.0 < 11.20≥ 15.0 < 15.3≥ 13.0 < 13.11≥ 12.0 < 12.15 修复版本: 14.8, 11.20, 15.3, 13.11 精确匹配
详情
- 发布日期
- 2023-06-09
- 最后修改
- 2025-01-07
- CVSS 向量
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N- CWE
- CWE-20
- EPSS(30 天内被利用概率)
- 0.70% (百分位 54)
参考资料
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。