CVE
CVE-2023-2455
CNA 原文 · 原文(英文)
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.
受影响版本
- ≥ 15.0, < 15.3修复版本 15.3
- ≥ 14.0, < 14.8修复版本 14.8
- ≥ 13.0, < 13.11修复版本 13.11
- ≥ 12.0, < 12.15修复版本 12.15
- ≥ 11.0, < 11.20修复版本 11.20
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- access.redhat.com/security/cve/CVE-2023-2455 · Third Party Advisory
- www.postgresql.org/support/security/CVE-2023-2455/ · Vendor Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。