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

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.