Security mailing lists by PureSourceCode

CVE-2023-39418

MEDIUM 4.3CVSS 3.1

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

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
11 Aug 2023
Last modified
27 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-1220
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD secalert@redhat.com (Secondary) CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
CVE List redhat CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 15.0, < 15.4 15.4
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
= 12.0
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:15
cpe:/a:redhat:enterprise_linux:8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:15
cpe:/a:redhat:rhel_eus:8.8::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:15
cpe:/a:redhat:enterprise_linux:9::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:15
cpe:/a:redhat:rhel_eus:9.2::appstream
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql
cpe:/o:redhat:rhel_els:6
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql
cpe:/o:redhat:rhel_els:7
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:10/postgresql
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:12/postgresql
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql:13/postgresql
cpe:/o:redhat:enterprise_linux:8
CVE List https://access.redhat.com/downloads/content/package-browser/ postgresql
cpe:/o:redhat:enterprise_linux:9
CVE List https://access.redhat.com/downloads/content/package-browser/ rh-postgresql10-postgresql
cpe:/a:redhat:rhel_software_collections:3
CVE List https://access.redhat.com/downloads/content/package-browser/ rh-postgresql12-postgresql
cpe:/a:redhat:rhel_software_collections:3
CVE List https://access.redhat.com/downloads/content/package-browser/ rh-postgresql13-postgresql
cpe:/a:redhat:rhel_software_collections:3

References

History

  • 27 Nov 2026 04:51 UTC · NVD: updated (other details)
  • 27 Nov 2026 02:49 UTC · CVE List: first stored (published 11 Aug 2023)
  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 11 Aug 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.