Prototype Pollution in PostgreSQL
CVE-2022-2625
A 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.
Vulnerability class: Mass Assignment
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.019 (78.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
- PostgreSQL — versions 15
- Fedoraproject Fedora — versions 36
- Red Hat Enterprise Linux — versions 6.0, 7.0, 8.0
- PostgreSQL — versions postgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-r… (Release Notes, Vendor Advisory)
- security.gentoo.org/glsa/202211-04 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-2625?
- CVE-2022-2625 is a high-severity vulnerability in PostgreSQL, classified under Improperly Controlled Modification of Dynamically-Determined Object Attributes. CVSS score: 8.0/10. Published 2022-08-18.
- How severe is CVE-2022-2625?
- High severity. CVSS v3 base score is 8.0 out of 10.
- Is CVE-2022-2625 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.