CVE-2023-2455 Affecting postgresql15 package, versions <15.3-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.1% (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 IDSNYK-ALPINE318-POSTGRESQL15-5519376
  • published12 May 2023
  • disclosed9 Jun 2023

Introduced: 12 May 2023

CVE-2023-2455  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Alpine:3.18 postgresql15 to version 15.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql15 package and not the postgresql15 package as distributed by Alpine. See How to fix? for Alpine:3.18 relevant fixed versions and status.

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain 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.

CVSS Scores

version 3.1