VDB

CVE-2023-2455

CVE-2023-2455 PUBLISHED CVSS 5.4 MEDIUM

Reported by redhat · Published June 9, 2023

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 planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.

Fixed versions

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

PackageEcosystemFixed in
postgresql-pltclAmazon Linux9.2.24-8.amzn2.0.2
postgresql15-test-rpm-macrosAmazon Linux15.4-1.amzn2023.0.1

Risk scores

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

Affected products

VendorProductVersions
n/apostgresqlPostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20
amazon:2postgresql-pltcl0
amazon:2023postgresql15-test-rpm-macros0
n/apostgresqlPostgreSQL 15.3, PostgreSQL 14.8, PostgreSQL 13.11, PostgreSQL 12.15, PostgreSQL 11.20
amazon:2023postgresql15-pltcl0
amazon:2023postgresql15-upgrade-devel0
amazon:2postgresql-server0
amazon:2023postgresql150
amazon:2023postgresql15-plperl0
amazon:2023postgresql15-server-devel0
alpinepostgresql120
amazon:2postgresql-plpython0
alpinepostgresql0
amazon:2023postgresql15-upgrade0
amazon:2023postgresql15-plpython30
amazon:2postgresql-docs0
amazon:2postgresql-devel0
amazon:2postgresql-contrib0
alpinepostgresql150
amazon:2postgresql-plperl0

…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-2455
vulnetix vdb fixes CVE-2023-2455

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-2455/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 ›