5.4

CVE-2024-10976: postgresql

CVSS: 5.4v3.1MediumModified
AliasesALPINE-CVE-2024-10976UBUNTU-CVE-2024-10976DEBIAN-CVE-2024-10976
Published 14-11-2024Last modified 03-11-2025

Vulnerability summary

CVE-2024-10976 is a medium (CVSS 5.4) vulnerability in postgresql. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 54.8% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.77%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 31 · Related 27

Timeline

  1. 14-11-2024
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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 being applied in 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. An attacker must tailor an attack to a particular application's pattern of query plan reuse, user ID changes, and role-specific row security policies. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.77%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

0.00 pp

From 0.77% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.77%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard8 products
  • postgresql-12< 12.21-r0
  • postgresql-13< 13.17-r0
  • postgresql-14< 14.14-r0
  • postgresql-14-client< 14.24-r2
  • postgresql-15< 15.9-r0
Wolfi8 products
  • postgresql-12< 12.21-r0
  • postgresql-13< 13.17-r0
  • postgresql-14< 14.14-r0
  • postgresql-14-client< 14.24-r2
  • postgresql-15< 15.9-r0
Ubuntu6 products
  • postgresql-10All versions (No fix recorded)
  • postgresql-12< 12.22-0ubuntu0.20.04.1
  • postgresql-14< 14.15-0ubuntu0.22.04.1
  • postgresql-16< 16.6-0ubuntu0.24.04.1
  • postgresql-9.3All versions (No fix recorded)
Alpine4 products
  • postgresql14< 14.14-r0
  • postgresql15< 15.9-r0
  • postgresql16< 16.5-r0
  • postgresql17< 17.1-r0
Debian2 products
  • postgresql-15< 15.9-0+deb12u1
  • postgresql-17< 17.1-1
Postgresql1 product
  • postgresql≥ 12.0, < 12.21 | ≥ 13.0, < 13.17 | ≥ 14.0, < 14.14 | ≥ 15.0, < 15.9 | ≥ 16.0, < 16.5 | ≥ 17.0, < 17.1

6 vendors · 29 products

References

10 links