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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3072-1, ELA-737-1, ELA-738-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-11 (PTS)buster, buster (lts)11.22-0+deb10u3fixed
buster (security)11.22-0+deb10u2fixed
postgresql-13 (PTS)bullseye13.16-0+deb11u1fixed
bullseye (security)13.18-0+deb11u1fixed
postgresql-9.4 (PTS)jessie, jessie (lts)9.4.26-0+deb8u10fixed
postgresql-9.6 (PTS)stretch (security)9.6.24-0+deb9u1vulnerable
stretch (lts), stretch9.6.24-0+deb9u7fixed

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-13sourcebullseye13.8-0+deb11u1
postgresql-13source(unstable)(unfixed)
postgresql-14source(unstable)14.5-1
postgresql-9.4sourcejessie9.4.26-0+deb8u6ELA-738-1
postgresql-9.4source(unstable)(unfixed)
postgresql-9.6sourcestretch9.6.24-0+deb9u2ELA-737-1
postgresql-9.6source(unstable)(unfixed)

Notes

https://www.postgresql.org/support/security/CVE-2022-2625/

Search for package or bug name: Reporting problems