CVE-2022-2625

NameCVE-2022-2625
DescriptionA vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3072-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-11 (PTS)buster11.16-0+deb10u1vulnerable
buster (security)11.17-0+deb10u1fixed
postgresql-13 (PTS)bullseye13.8-0+deb11u1vulnerable
bullseye (security)13.7-0+deb11u1vulnerable
postgresql-14 (PTS)bookworm, sid14.5-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-11sourcebuster11.17-0+deb10u1DLA-3072-1
postgresql-11source(unstable)(unfixed)
postgresql-13source(unstable)(unfixed)
postgresql-14source(unstable)14.5-1

Notes

[bullseye] - postgresql-13 <postponed> (Minor issue, fix along in next update)
https://www.postgresql.org/support/security/CVE-2022-2625/

Search for package or bug name: Reporting problems