CVE-2024-10976Improper Preservation of Consistency Between Independent Representations of Shared State in Postgresql

Severity
5.4MEDIUMNVD
CNA7.5OSV7.5
EPSS
1.1%
top 21.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedNov 14
Latest updateMar 19

Description

Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended. CVE-2023-2455 and CVE-2016-2193 fixed most interaction between row security and user ID changes. They missed cases where a subquery, WITH query, security invoker view, or SQL-language function references a table with a row-level security policy. This has the same consequences as the two earlier CVEs. That is to say, it leads to potentially incorrect policies b

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.5

Affected Packages9 packages

debiandebian/postgresql-13< postgresql-13 13.17-0+deb11u1 (bullseye)
debiandebian/postgresql-15< postgresql-13 13.17-0+deb11u1 (bullseye)
debiandebian/postgresql-17< postgresql-13 13.17-0+deb11u1 (bullseye)
CVEListV5postgresql/postgresql1717.1+5
NVDpostgresql/postgresql12.012.21+5

🔴Vulnerability Details

5
OSV
postgresql-9.5 vulnerabilities2025-03-19
OSV
postgresql-12, postgresql-14, postgresql-16 vulnerabilities2024-12-02
GHSA
GHSA-9cv8-8vgq-fg45: Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended2024-11-14
CVEList
PostgreSQL row security below e.g. subqueries disregards user ID changes2024-11-14
OSV
CVE-2024-10976: Incomplete tracking in PostgreSQL of tables with row security allows a reused query to view or change different rows from those intended2024-11-14

📋Vendor Advisories

5
Ubuntu
PostgreSQL vulnerabilities2025-03-19
Ubuntu
PostgreSQL vulnerabilities2024-12-02
Red Hat
postgresql: PostgreSQL row security below e.g. subqueries disregards user ID changes2024-11-14
Microsoft
PostgreSQL row security below e.g. subqueries disregards user ID changes2024-11-12
Debian
CVE-2024-10976: postgresql-13 - Incomplete tracking in PostgreSQL of tables with row security allows a reused qu...2024