VDB

CVE-2023-2454

CVE-2023-2454 PUBLISHED CVSS 7.2 HIGH

Reported by redhat · Published June 9, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresql15Amazon Linux15.0-1.amzn2023.0.3
postgresql-contribAmazon Linux9.2.24-8.amzn2.0.2
postgresql-pltclAmazon Linux9.2.24-8.amzn2.0.2
postgresql15-serverAmazon Linux15.0-1.amzn2023.0.3
postgresql12Alpine12.15-r0
postgresql-staticAmazon Linux9.2.24-8.amzn2.0.2
postgresql15Alpine15.3-r0
postgresql-plperlAmazon Linux9.2.24-8.amzn2.0.2
postgresql-plpythonAmazon Linux9.2.24-8.amzn2.0.2
postgresql-docsAmazon Linux9.2.24-8.amzn2.0.2
postgresql15-plperlAmazon Linux15.0-1.amzn2023.0.3
postgresql15-staticAmazon Linux15.0-1.amzn2023.0.3

18 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/apostgresqlPostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20
amazon:2023postgresql150
amazon:2postgresql-contrib0
amazon:2postgresql-pltcl0
amazon:2023postgresql15-server0
alpinepostgresql120
amazon:2postgresql-static0
alpinepostgresql150
amazon:2postgresql-plperl0
amazon:2postgresql-plpython0
amazon:2postgresql-docs0
amazon:2023postgresql15-plperl0
amazon:2023postgresql15-static0
amazon:2023postgresql15-plpython30
amazon:2023postgresql15-docs0
amazon:2023postgresql15-pltcl0
amazon:2023postgresql15-test0
amazon:2023postgresql15-server-devel0
amazon:2023postgresql15-private-libs0
amazon:2023postgresql15-contrib0

…and 15 more

Timeline

  • May 11, 2023 CVE Published
  • Jun 10, 2023 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (21 in total, the first dated here)
  • Nov 21, 2026 Distribution Patch (17 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-2454
vulnetix vdb fixes CVE-2023-2454

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-2454/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›