Incorrect Privilege Assignment Affecting postgresql package, versions [12.0,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 Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-8399893
  • published20 Nov 2024
  • disclosed14 Nov 2024
  • creditTom Lane

Introduced: 14 Nov 2024

CVE-2024-10978  (opens in a new tab)
CWE-266  (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 Incorrect Privilege Assignment due to the misuse of SET ROLE and SET SESSION AUTHORIZATION features. An attacker can view or modify data intended for different user roles by manipulating application queries that rely on user session settings. This is only exploitable if the application uses these features to control data access based on user roles.

CVSS Scores

version 4.0
version 3.1