Improper Preservation of Consistency Between Independent Representations of Shared State Affecting postgresql package, versions [,12.21)[13.0,13.17)[14.0,14.14)[15.0,15.9)[16.0,16.5)[17.0,17.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-8402094
  • published26 Nov 2024
  • disclosed14 Nov 2024
  • creditWolfgang Walther

Introduced: 14 Nov 2024

CVE-2024-10976  (opens in a new tab)
CWE-1250  (opens in a new tab)

How to fix?

Upgrade postgresql to version 12.21, 13.17, 14.14, 15.9, 16.5, 17.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Preservation of Consistency Between Independent Representations of Shared State due to the incomplete tracking of tables with row-level security policies, which allows a reused query to view or change different rows from those intended. An attacker can achieve unauthorized reads or modifications of data by tailoring an attack to a particular application's pattern of query plan reuse, user ID changes, and role-specific row security policies.

Note:

This is only exploitable if the database has used CREATE POLICY to define a row security policy.

CVSS Scores

version 4.0
version 3.1