Vulnerability · Published Jun 9, 2023 · Assigned by redhat

CVE-2023-2454

High 7.2

In plain English

A high-severity improper input validation in postgresql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)1.2%top 31.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux:8pg_repack1.4.8-1.module_el8.8.0+3487+43ec1b9fALSA-2023:5269
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+2760+1746ec94ALSA-2023:4527
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+3095+ee60d910ALSA-2023:4527
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux:9pg_repack1.4.8-1.module_el9.2.0+22+09653793ALSA-2023:4327
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+3095+ee60d910ALSA-2023:4527
AlmaLinux:8pgaudit1.4.0-5.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux:8pgaudit1.4.0-5.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux:8pgaudit1.7.0-1.module_el8.8.0+3487+43ec1b9fALSA-2023:5269
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2023:4527
AlmaLinux:9pgaudit1.7.0-1.module_el9.2.0+22+09653793ALSA-2023:4327
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux:8postgres-decoderbufs1.9.7-1.Final.module_el8.8.0+3487+43ec1b9fALSA-2023:5269
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+3095+ee60d910ALSA-2023:4527
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2023:4527
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux:9postgres-decoderbufs1.9.7-1.Final.module_el9.2.0+22+09653793ALSA-2023:4327
AlmaLinux:8postgresql10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql13.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-contrib15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql-contrib13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-contrib10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-contrib12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-contrib15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql-contrib13.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-docs15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql-docs10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-docs12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-docs13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:9postgresql-docs13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-docs15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-plperl10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-plperl12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-plperl13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-plperl15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-plperl15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql-plperl13.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-plpython313.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-plpython312.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-plpython310.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-plpython315.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-plpython315.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql-plpython313.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-pltcl10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-pltcl12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-pltcl13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-pltcl15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-pltcl15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql-pltcl13.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-private-devel15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-private-devel13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-private-devel15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-private-libs15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-private-libs13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-private-libs15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-server10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-server15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql-server13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-server12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-server15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql-server13.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-server-devel15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql-server-devel12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-server-devel13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-server-devel10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:9postgresql-server-devel15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:9postgresql-server-devel13.11-1.el9_2ALSA-2023:3714
AlmaLinux:8postgresql-static12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-static13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-static15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql-static10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:9postgresql-static13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-static15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-test13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-test12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-test10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-test15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-test13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-test15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-test-rpm-macros10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-test-rpm-macros12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-test-rpm-macros13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-test-rpm-macros15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-test-rpm-macros15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-upgrade15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:8postgresql-upgrade13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-upgrade12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-upgrade10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:9postgresql-upgrade13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-upgrade15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
AlmaLinux:8postgresql-upgrade-devel10.23-2.module_el8.8.0+3599+77865fc6ALSA-2023:4539
AlmaLinux:8postgresql-upgrade-devel13.11-1.module_el8.8.0+3601+ca64e769ALSA-2023:4527
AlmaLinux:8postgresql-upgrade-devel12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-upgrade-devel15.3-1.module_el8.8.0+3610+f1fe5820ALSA-2023:5269
AlmaLinux:9postgresql-upgrade-devel13.11-1.el9_2ALSA-2023:3714
AlmaLinux:9postgresql-upgrade-devel15.3-1.module_el9.2.0+32+f3c125b5ALSA-2023:4327
Alpine:v3.20postgresql1414.8-r0ALPINE-CVE-2023-2454
Alpine:v3.20postgresql1515.3-r0ALPINE-CVE-2023-2454
Alpine:v3.21postgresql1515.3-r0ALPINE-CVE-2023-2454
Alpine:v3.22postgresql1515.3-r0ALPINE-CVE-2023-2454
Debian:12postgresql-1515.3-0+deb12u1DEBIAN-CVE-2023-2454
Rocky Linux:8pg_repack0:1.4.8-1.module+el8.10.0+40056+df351139RLSA-2023:5269
Rocky Linux:8pg_repack0:1.4.8-1.module+el8.9.0+1525+fc91df60RLSA-2023:5269
Rocky Linux:8pg_repack0:1.4.6-3.module+el8.5.0+684+c3892ef9RLSA-2023:4527
Rocky Linux:8pg_repack0:1.4.6-3.module+el8.5.0+684+c3892ef9RLSA-2023:4535
Rocky Linux:8pg_repack0:1.4.8-1.module+el8.10.0+1622+bd25b19cRLSA-2023:5269
Rocky Linux:8pg_repack0:1.4.8-1.module+el8.10.0+1858+fcc46a79RLSA-2023:5269
Rocky Linux:8pgaudit0:1.7.0-1.module+el8.10.0+40056+df351139RLSA-2023:5269
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.5.0+684+c3892ef9RLSA-2023:4527
Rocky Linux:8pgaudit0:1.4.0-5.module+el8.5.0+686+20453eccRLSA-2023:4535
Rocky Linux:8pgaudit0:1.7.0-1.module+el8.9.0+1525+fc91df60RLSA-2023:5269
Rocky Linux:9pgaudit0:1.7.0-1.module+el9.5.0+30637+4391fccaRLSA-2023:4327
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2023:4535
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2023:4527
Rocky Linux:8postgres-decoderbufs0:1.9.7-1.Final.module+el8.10.0+40056+df351139RLSA-2023:5269
Rocky Linux:8postgres-decoderbufs0:1.9.7-1.Final.module+el8.9.0+1525+fc91df60RLSA-2023:5269
Rocky Linux:9postgres-decoderbufs0:1.9.7-1.Final.module+el9.5.0+30637+4391fccaRLSA-2023:4327
Rocky Linux:8postgresql0:10.23-2.module+el8.8.0+1440+992378a9RLSA-2023:4539
Rocky Linux:8postgresql0:12.15-1.module+el8.8.0+1441+a10239d2RLSA-2023:4535
Rocky Linux:8postgresql0:13.11-1.module+el8.8.0+1443+0e26d3b2RLSA-2023:4527
Rocky Linux:9postgresql0:13.11-1.el9_2RLSA-2023:3714
Ubuntu:22.04:LTSpostgresql-1414.8-0ubuntu0.22.04.1USN-6104-1
Ubuntu:22.04:LTSpostgresql-1414.8-0ubuntu0.22.04.1UBUNTU-CVE-2023-2454

Affected products (as reported)

VendorProductVersions
n/a postgresql PostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

References