synced 8 MIN AGO
01 Record

CVE-2023-2455

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is

MediumPUBLISHEDCNA: redhat
CNA base score5.4 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

02 Description

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
0.70% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 52.5% of scored records. A rank, not a probability.
NVD base score
5.4 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-06-09 00:00Z3 YR AGO
Last updated
2025-01-06 17:13Z1 YR AGO
Reserved
2023-05-01
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Medium (CVSS 5.4)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
  • CWE-20Improper Input ValidationClass
Data version
5.1
Document digest
85a906b9b58dc4b882cf4ac3f9e5e8757f2841e763960d41d1cc3febdc98f958

05 Affected products

VendorProductVersionsPlatforms
n/apostgresqlPostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20—

06 References

07 Fixed in

AlmaLinux 8

  • pg_repack
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.6-3.module_el8.6.0+2758+4f4474df
    • Affected before 1.4.6-3.module_el8.6.0+2760+1746ec94
    • Affected before 1.4.6-3.module_el8.6.0+3094+eb237fb8
    • Affected before 1.4.6-3.module_el8.6.0+3095+ee60d910
    • Affected before 1.4.8-1.module_el8.8.0+3487+43ec1b9f
  • pgaudit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.0-5.module_el8.6.0+2758+4f4474df
    • Affected before 1.4.0-5.module_el8.6.0+3094+eb237fb8
    • Affected before 1.5.0-1.module_el8.6.0+2760+1746ec94
    • Affected before 1.5.0-1.module_el8.6.0+3095+ee60d910
    • Affected before 1.7.0-1.module_el8.8.0+3487+43ec1b9f
  • postgres-decoderbufs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.10.0-2.module_el8.6.0+2758+4f4474df
    • Affected before 0.10.0-2.module_el8.6.0+2760+1746ec94
    • Affected before 0.10.0-2.module_el8.6.0+3094+eb237fb8
    • Affected before 0.10.0-2.module_el8.6.0+3095+ee60d910
    • Affected before 1.9.7-1.Final.module_el8.8.0+3487+43ec1b9f
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-private-devel
    Fixed in 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-private-libs
    Fixed in 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-test-rpm-macros
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • pg_repack
    Fixed in 1.4.8-1.module_el9.2.0+22+09653793
  • pgaudit
    Fixed in 1.7.0-1.module_el9.2.0+22+09653793
  • postgres-decoderbufs
    Fixed in 1.9.7-1.Final.module_el9.2.0+22+09653793
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-private-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-private-libs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-test-rpm-macros
    Fixed in 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • pg_repack
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.6-3.module_el8.6.0+2758+4f4474df
    • Affected before 1.4.6-3.module_el8.6.0+2760+1746ec94
    • Affected before 1.4.6-3.module_el8.6.0+3094+eb237fb8
    • Affected before 1.4.6-3.module_el8.6.0+3095+ee60d910
    • Affected before 1.4.8-1.module_el8.8.0+3487+43ec1b9f
  • pgaudit
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.4.0-5.module_el8.6.0+2758+4f4474df
    • Affected before 1.4.0-5.module_el8.6.0+3094+eb237fb8
    • Affected before 1.5.0-1.module_el8.6.0+2760+1746ec94
    • Affected before 1.5.0-1.module_el8.6.0+3095+ee60d910
    • Affected before 1.7.0-1.module_el8.8.0+3487+43ec1b9f
  • postgres-decoderbufs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.10.0-2.module_el8.6.0+2758+4f4474df
    • Affected before 0.10.0-2.module_el8.6.0+2760+1746ec94
    • Affected before 0.10.0-2.module_el8.6.0+3094+eb237fb8
    • Affected before 0.10.0-2.module_el8.6.0+3095+ee60d910
    • Affected before 1.9.7-1.Final.module_el8.8.0+3487+43ec1b9f
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-private-devel
    Fixed in 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-private-libs
    Fixed in 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-test-rpm-macros
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 10.23-2.module_el8.8.0+3599+77865fc6
    • Affected before 12.15-1.module_el8.8.0+3600+38330172
    • Affected before 13.11-1.module_el8.8.0+3601+ca64e769
    • Affected before 15.3-1.module_el8.8.0+3610+f1fe5820

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • pg_repack
    Fixed in 1.4.8-1.module_el9.2.0+22+09653793
  • pgaudit
    Fixed in 1.7.0-1.module_el9.2.0+22+09653793
  • postgres-decoderbufs
    Fixed in 1.9.7-1.Final.module_el9.2.0+22+09653793
  • postgresql
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-contrib
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-plperl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-plpython3
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-pltcl
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-private-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-private-libs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-server
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-server-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-static
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-test
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-test-rpm-macros
    Fixed in 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-upgrade
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5
  • postgresql-upgrade-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 13.11-1.el9_2
    • Affected before 15.3-1.module_el9.2.0+32+f3c125b5

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • postgresql-15
    Fixed in 15.3-0+deb12u1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • postgresql-10
    Fixed in 10.23-0ubuntu0.18.04.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • postgresql-12
    Fixed in 12.15-0ubuntu0.20.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • postgresql-14
    Fixed in 14.8-0ubuntu0.22.04.1

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • postgresql-9.3
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • postgresql-9.5
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.