CVE-2023-39418

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

State
Published
Severity
3.1 Low
Published
Aug 11, 2023
Updated
Nov 21, 2025
Reserved
Aug 1, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:Nredhat

Weaknesses

  • CWE-1220 Insufficient Granularity of Access Control

Affected Products

ProductVersions
Red Hat Enterprise Linux 8Red Hat
  • 8090020231114113548.a75119d5 and laterNot affected
Red Hat Enterprise Linux 8.8 Extended Update SupportRed Hat
  • 8080020231113134015.63b34585 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 9030020231120082734.rhel9 and laterNot affected
Red Hat Enterprise Linux 9.2 Extended Update SupportRed Hat
  • 9020020231115020618.rhel9 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat
        Red Hat Enterprise Linux 8Red Hat
          Red Hat Enterprise Linux 8Red Hat
            Red Hat Enterprise Linux 9Red Hat
              Red Hat Software CollectionsRed Hat
                Red Hat Software CollectionsRed Hat
                  Red Hat Software CollectionsRed Hat

                    References

                    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.