Insufficient Granularity of Access Control Affecting postgresql12 package, versions <12.16-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.5% (77th 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-ALPINE317-POSTGRESQL12-5840801
  • published15 Aug 2023
  • disclosed11 Aug 2023

Introduced: 11 Aug 2023

CVE-2023-39418  (opens in a new tab)
CWE-1220  (opens in a new tab)

How to fix?

Upgrade Alpine:3.17 postgresql12 to version 12.16-r0 or higher.

NVD Description

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

A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.

CVSS Scores

version 3.1