CVE
CVE-2023-39418
CVE-2023-39418MED 4.3EPSS 66%
CNA 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.
Affected versions
All PostgreSQL vulnerabilities →
- ≥ 15.0, < 15.4Fixed in 15.4
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- access.redhat.com/errata/RHSA-2023:7785 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7883 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7884 · Third Party Advisory
- access.redhat.com/errata/RHSA-2023:7885 · Third Party Advisory
- access.redhat.com/security/cve/CVE-2023-39418 · Third Party Advisory
- git.postgresql.org/gitweb/ · Patch
- www.postgresql.org/support/security/CVE-2023-39418/ · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.