Low severity3.1NVD Advisory· Published Aug 11, 2023· Updated Jun 17, 2026
CVE-2023-39418
CVE-2023-39418
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
46cpe:/a:redhat:enterprise_linux:8::appstream+ 7 more
- cpe:/a:redhat:enterprise_linux:8::appstreamrange: 8090020231114113548.a75119d5
- cpe:/a:redhat:enterprise_linux:9::appstreamrange: 9030020231120082734.rhel9
- 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:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
- Red Hat/Red Hat Enterprise Linux 8.8 Extended Update Supportv5cpe:/a:redhat:rhel_eus:8.8::appstreamRange: 8080020231113134015.63b34585
- Red Hat/Red Hat Enterprise Linux 9.2 Extended Update Supportv5cpe:/a:redhat:rhel_eus:9.2::appstreamRange: 9020020231115020618.rhel9
- cpe:/a:redhat:rhel_software_collections:3
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*range: >=15.0,<15.4
- (no CPE)
- osv-coords32 versionspkg:bitnami/postgresqlpkg:rpm/almalinux/pg_repackpkg:rpm/almalinux/pgauditpkg:rpm/almalinux/postgres-decoderbufspkg:rpm/almalinux/postgresqlpkg:rpm/almalinux/postgresql-contribpkg:rpm/almalinux/postgresql-docspkg:rpm/almalinux/postgresql-plperlpkg:rpm/almalinux/postgresql-plpython3pkg:rpm/almalinux/postgresql-pltclpkg:rpm/almalinux/postgresql-private-develpkg:rpm/almalinux/postgresql-private-libspkg:rpm/almalinux/postgresql-serverpkg:rpm/almalinux/postgresql-server-develpkg:rpm/almalinux/postgresql-staticpkg:rpm/almalinux/postgresql-testpkg:rpm/almalinux/postgresql-test-rpm-macrospkg:rpm/almalinux/postgresql-upgradepkg:rpm/almalinux/postgresql-upgrade-develpkg:rpm/opensuse/postgresql15&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/postgresql15&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/postgresql15&distro=openSUSE%20Tumbleweedpkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP5pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP4pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP4pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/postgresql15&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/postgresql15&distro=SUSE%20Manager%20Proxy%204.2pkg:rpm/suse/postgresql15&distro=SUSE%20Manager%20Server%204.2
>= 15.0.0, < 15.4.0+ 31 more
- (no CPE)range: >= 15.0.0, < 15.4.0
- (no CPE)range: < 1.4.8-1.module_el9.2.0+22+09653793
- (no CPE)range: < 1.7.0-1.module_el9.2.0+22+09653793
- (no CPE)range: < 1.9.7-1.Final.module_el9.2.0+22+09653793
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.5-1.module_el9.3.0+52+21733919
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-1.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-3.12.1
- (no CPE)range: < 15.4-3.12.1
- (no CPE)range: < 15.4-3.12.1
- (no CPE)range: < 15.4-150200.5.12.1
- (no CPE)range: < 15.4-150200.5.12.1
Patches
Vulnerability mechanics
References
10- bugzilla.redhat.com/show_bug.cginvdIssue TrackingPatchThird Party Advisory
- git.postgresql.org/gitweb/nvdMailing ListPatch
- access.redhat.com/errata/RHSA-2023:7785nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7883nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7884nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2023:7885nvdThird Party Advisory
- access.redhat.com/security/cve/CVE-2023-39418nvdThird Party Advisory
- www.postgresql.org/support/security/CVE-2023-39418/nvdVendor Advisory
- security.netapp.com/advisory/ntap-20230915-0002/nvd
- www.debian.org/security/2023/dsa-5553nvd
News mentions
0No linked articles in our index yet.