Improper Privilege Management Affecting postgresql package, versions [,11.20)[12.0,12.15)[13.0,13.11)[14.0,14.8)[15.0,15.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (42nd 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 Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-5664660
  • published1 Jun 2023
  • disclosed11 May 2023
  • creditWolfgang Walther

Introduced: 11 May 2023

CVE-2023-2455  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade postgresql to version 11.20, 12.15, 13.11, 14.8, 15.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Privilege Management in the handling of user ID changes in the function inlining mechanism. The flaw lies in the potential for incorrect policy application when a query is planned under one role and then executed under different roles. An attacker can carry out unauthorized reads and modifications by exploiting this flaw, effectively bypassing the intended row security policy. This is only exploitable if the database has implemented row-level security using the CREATE POLICY function to define a row security policy.

CVSS Scores

version 3.1