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
EPSS: 0.015 (72.1th percentile) — read the EPSS interpretation.
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.
Affected products
- Postgresql — versions 15
- Fedoraproject Fedora — versions 36
- Redhat Enterprise_linux — versions 6.0, 7.0, 8.0
- N/a 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
- secalert@redhat.com (Third Party Advisory, Issue Tracking)
- secalert@redhat.com (Release Notes, Vendor Advisory)
- secalert@redhat.com (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.