CVE-2023-39418

Postgresql: merge fails to enforce update or select row security policies

Published Aug 11, 2023 CVSS 3.1 · 3.1 Low EPSS 1.1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5553-1 postgresql-15 security update
EUVD EUVD EUVD-2023-43142 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.
Ubuntu USN Ubuntu USN USN-6296-1 PostgreSQL vulnerabilities
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Weaknesses CWE-1220
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 7, 2026, 11:56 AM
Reserved
Aug 1, 2023, 9:31 AM
Status
Modified
Published
Aug 11, 2023, 1:15 PM
Modified
Nov 7, 2026, 12:17 PM
Severity
Low
Public date
Aug 10, 2023, 12:00 AM