cve.bz

CVE-2023-2454 Improper Input Validation

7.2 highEPSS 1.2%

High (7.2). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
schema_element defeats protective search_path changes; It was found that certain database calls in PostgreSQL could permit an authed attacker with elevated database-level privileges to execute arbitrary code.

Severity

CVSS 3.1

7.2 high
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-2454 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2454?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2454?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2454 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresqlfrom 11.0 before 11.20
postgresql:postgresqlfrom 12.0 before 12.15
postgresql:postgresqlfrom 13.0 before 13.11
postgresql:postgresqlfrom 14.0 before 14.8
postgresql:postgresqlfrom 15.0 before 15.3
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10postgresql-1111.20-0+deb10u1DLA-3422-1
Debian11postgresql-1313.11-0+deb11u1DSA-5401-1
Debian12postgresql-1515.3-0+deb12u1DEBIAN-CVE-2023-2454
Ubuntu18.04:LTSpostgresql-1010.23-0ubuntu0.18.04.2UBUNTU-CVE-2023-2454 USN-6104-1
Ubuntu20.04:LTSpostgresql-1212.15-0ubuntu0.20.04.1UBUNTU-CVE-2023-2454 USN-6104-1
Ubuntu22.04:LTSpostgresql-1414.8-0ubuntu0.22.04.1UBUNTU-CVE-2023-2454 USN-6104-1
UbuntuPro:14.04:LTSpostgresql-9.3no fix listedUBUNTU-CVE-2023-2454
UbuntuPro:16.04:LTSpostgresql-9.59.5.25-0ubuntu0.16.04.1+esm4UBUNTU-CVE-2023-2454 USN-6230-1
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.5.0+11354+78b3c9c5RHSA-2023:4535
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.6-3.module+el8.5.0+11357+bcc62552RHSA-2023:4527
Red Hatenterprise_linux:8::appstreampg_repack, pg_repack-debuginfo, pg_repack-debugsource0:1.4.8-1.module+el8.8.0+17071+aaaceaa4RHSA-2023:5269
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.4.0-5.module+el8.5.0+11354+78b3c9c5RHSA-2023:4535
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.5.0-1.module+el8.4.0+8873+b821c30aRHSA-2023:4527
Red Hatenterprise_linux:8::appstreampgaudit, pgaudit-debuginfo, pgaudit-debugsource0:1.7.0-1.module+el8.8.0+17071+aaaceaa4RHSA-2023:5269
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.4.0+8873+b821c30aRHSA-2023:4527
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:0.10.0-2.module+el8.5.0+11354+78b3c9c5RHSA-2023:4535
Red Hatenterprise_linux:8::appstreampostgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource0:1.9.7-1.Final.module+el8.8.0+17071+aaaceaa4RHSA-2023:5269
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 25 more0:15.3-1.module+el8.8.0+19565+1b0ddae0RHSA-2023:5269
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:10.23-2.module+el8.8.0+19493+5804baf6RHSA-2023:4539
Red Hatenterprise_linux:8::appstreampostgresql, postgresql-docs, postgresql-test and 22 more0:12.15-1.module+el8.8.0+19427+d1071523RHSA-2023:4535
28 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 12 morepostgresql1414.8-150200.5.26.1SUSE-SU-2023:2205-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 12 morepostgresql1515.3-150200.5.9.1SUSE-SU-2023:2207-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 10 morepostgresql1313.11-150200.5.40.1SUSE-SU-2023:2219-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morepostgresql1212.15-150200.8.44.1SUSE-SU-2023:2199-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1postgresql1212.15-150100.3.41.1SUSE-SU-2023:2198-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP4-ESPOS, Linux Enterprise Server 12 SP4-LTSS and 6 morepostgresql1515.3-3.9.1SUSE-SU-2023:2206-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5postgresql1212.15-3.39.1SUSE-SU-2023:2200-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5postgresql1313.11-3.33.1SUSE-SU-2023:2201-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5postgresql1414.8-3.23.1SUSE-SU-2023:2202-1
openSUSELeap 15.4postgresql1212.15-150200.8.44.1SUSE-SU-2023:2199-1
openSUSELeap 15.4postgresql1313.11-150200.5.40.1SUSE-SU-2023:2219-1
openSUSELeap 15.4postgresql1414.8-150200.5.26.1SUSE-SU-2023:2205-1
openSUSELeap 15.4postgresql1515.3-150200.5.9.1SUSE-SU-2023:2207-1
openSUSETumbleweedpostgresql1111.20-1.1openSUSE-SU-2024:12929-1
openSUSETumbleweedpostgresql1212.15-1.1openSUSE-SU-2024:12930-1
openSUSETumbleweedpostgresql1313.11-1.1openSUSE-SU-2024:12931-1
openSUSETumbleweedpostgresql1414.8-1.1openSUSE-SU-2024:12932-1
openSUSETumbleweedpostgresql1515.3-1.1openSUSE-SU-2024:12933-1
openSUSETumbleweedpostgresql1616.4-1.1openSUSE-SU-2024:14360-1
openSUSETumbleweedpostgresql1717.6-2.1openSUSE-SU-2025:15580-1
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+2760+1746ec94ALSA-2023:4527
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux8pg_repack1.4.6-3.module_el8.6.0+3095+ee60d910ALSA-2023:4527
AlmaLinux8pg_repack1.4.8-1.module_el8.8.0+3487+43ec1b9fALSA-2023:5269
AlmaLinux8pgaudit1.4.0-5.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux8pgaudit1.4.0-5.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2023:4527
AlmaLinux8pgaudit1.5.0-1.module_el8.6.0+3095+ee60d910ALSA-2023:4527
AlmaLinux8pgaudit1.7.0-1.module_el8.8.0+3487+43ec1b9fALSA-2023:5269
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2023:4527
12 more for AlmaLinux in the JSON.
Rocky Linux8pg_repack0:1.4.6-3.module+el8.5.0+684+c3892ef9RLSA-2023:4527 RLSA-2023:4535
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+1622+bd25b19cRLSA-2023:5269
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+1858+fcc46a79RLSA-2023:5269
Rocky Linux8pg_repack0:1.4.8-1.module+el8.10.0+40056+df351139RLSA-2023:5269
Rocky Linux8pg_repack0:1.4.8-1.module+el8.9.0+1525+fc91df60RLSA-2023:5269
Rocky Linux8pgaudit0:1.4.0-5.module+el8.5.0+686+20453eccRLSA-2023:4535
Rocky Linux8pgaudit0:1.5.0-1.module+el8.5.0+684+c3892ef9RLSA-2023:4527
Rocky Linux8pgaudit0:1.7.0-1.module+el8.10.0+40056+df351139RLSA-2023:5269
Rocky Linux8pgaudit0:1.7.0-1.module+el8.9.0+1525+fc91df60RLSA-2023:5269
Rocky Linux8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2023:4527 RLSA-2023:4535
Rocky Linux8postgres-decoderbufs0:1.9.7-1.Final.module+el8.10.0+40056+df351139RLSA-2023:5269
Rocky Linux8postgres-decoderbufs0:1.9.7-1.Final.module+el8.9.0+1525+fc91df60RLSA-2023:5269
6 more for Rocky Linux in the JSON.
Alpinev3.13, v3.14postgresql13.11-r0ALPINE-CVE-2023-2454
Alpinev3.15, v3.16, v3.17 and 1 morepostgresql1212.15-r0ALPINE-CVE-2023-2454
Alpinev3.15, v3.16, v3.17 and 2 morepostgresql1313.11-r0ALPINE-CVE-2023-2454
Alpinev3.15, v3.16, v3.17 and 3 morepostgresql1414.8-r0ALPINE-CVE-2023-2454
Alpinev3.17, v3.18, v3.19 and 3 morepostgresql1515.3-r0ALPINE-CVE-2023-2454

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The severity for Red Hat Enterprise Linux and Red Hat Software Collections has been set to Moderate because the vulnerability requires an attacker to have database-level CREATE privilege to execute arbitrary code as the bootstrap superuser. As it requires a HIGH privileged user, it reduces the impact of this vulnerability.

Red Hat OpenShift Dev Spaces is not affected by this issue as PostgreSQL was decommissioned on the latest Red Hat OpenShift Dev Spaces 3.6 release, as described in: https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.6/html/release_notes_and_known_issues/removed-functionalities#removed-functionality-crw-4105

Red Hat Satellite does not include the affected PostgreSQL, however, the component is shipped with Red Hat Enterprise Linux and consumed by Satellite. Red Hat Satellite users are advised to check the impact of Red Hat Enterprise Linux since any necessary fixes will also be distributed through it.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8postgresql:13-8080020230613131941.63b34585Fixed 2023-08-08RHSA-2023:4527
Red Hat Enterprise Linux 8postgresql:12-8080020230717103820.63b34585Fixed 2023-08-08RHSA-2023:4535
Red Hat Enterprise Linux 8postgresql:10-8080020230720123941.63b34585Fixed 2023-08-08RHSA-2023:4539
Red Hat Enterprise Linux 8postgresql:15-8080020230803085541.63b34585Fixed 2023-09-19RHSA-2023:5269
Red Hat Enterprise Linux 8.2 Advanced Update Supportpostgresql:12-8020020231128165246.4cda2c84Fixed 2023-12-06RHSA-2023:7667
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicepostgresql:12-8020020231128165246.4cda2c84Fixed 2023-12-06RHSA-2023:7667
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionspostgresql:12-8020020231128165246.4cda2c84Fixed 2023-12-06RHSA-2023:7667
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpostgresql:12-8040020231127153301.522a0ee4Fixed 2023-12-07RHSA-2023:7694
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpostgresql:13-8040020231127154806.522a0ee4Fixed 2023-12-07RHSA-2023:7695
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicepostgresql:12-8040020231127153301.522a0ee4Fixed 2023-12-07RHSA-2023:7694
A-MQ Clients 2postgresqlNot affected
Cryostat 2postgresqlNot affected
Red Hat Advanced Cluster Management for Kubernetes 2acm-multicluster-globalhub-agent-containerNot affected
Red Hat Advanced Cluster Management for Kubernetes 2acm-multicluster-globalhub-manager-containerNot affected
Red Hat Advanced Cluster Management for Kubernetes 2acm-multicluster-globalhub-operator-bundle-containerNot affected
Red Hat Advanced Cluster Management for Kubernetes 2acm-multicluster-globalhub-operator-containerNot affected
Red Hat AMQ Broker 7postgresqlNot affected
Red Hat build of Apache Camel for Spring Boot 3postgresqlNot affected
Red Hat build of Apicurio Registry 2postgresqlNot affected
Red Hat build of Debezium 1postgresqlNot affected
40 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2454.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON