Skip to main content
Network Thinking Solutions Logo

CVE-2023-39418

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.

All CVEs
CVE-2023-39418Published 8/11/2023

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.

Vendor advisory
CVSS 3.14.3Medium

Overview

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.

Published
8/11/2023
Last modified
11/27/2026
CVE assigner
redhat
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
postgresql
postgresql
≥ 15.0, < 15.4

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux
redhat
9.0

Verify advisory

Source
debian linux
debian
12.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2023:7785vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2023:7883vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2023:7884vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2023:7885vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2023:7785vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2023:7883vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2023:7884vendor-advisory · x_refsource_REDHAT · x_transferred
access.redhat.com/errata/RHSA-2023:7885vendor-advisory · x_refsource_REDHAT · x_transferred
bugzilla.redhat.com/show_bug.cgi?id=2228112Issue Tracking · Patch · Third Party Advisory

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

3.1 · Low CVSS 3.1

Scored by redhat

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

3.1 · Low CVSS 3.1

Scored by secalert@redhat.com

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

4.3 · Medium CVSS 3.1

Scored by nvd@nist.gov

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2023:7785
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/errata/RHSA-2023:7883
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/errata/RHSA-2023:7884
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/errata/RHSA-2023:7885
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/security/cve/CVE-2023-39418
vdb-entry
x_refsource_REDHAT
x_transferred
Third Party Advisory
bugzilla.redhat.com/show_bug.cgi?id=2228112
issue-tracking
x_refsource_REDHAT
x_transferred
Issue Tracking
Patch
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.