CVE-2022-2625
18.08.2022, 19:15
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.
Vendor | Product | Version |
---|---|---|
postgresql | postgresql | 10.0 ≤ 𝑥 < 10.22 |
postgresql | postgresql | 11.0 ≤ 𝑥 < 11.17 |
postgresql | postgresql | 12.0 ≤ 𝑥 < 12.12 |
postgresql | postgresql | 13.0 ≤ 𝑥 < 13.8 |
postgresql | postgresql | 14.0 ≤ 𝑥 < 14.5 |
redhat | enterprise_linux | 6.0 |
redhat | enterprise_linux | 7.0 |
redhat | enterprise_linux | 8.0 |
redhat | enterprise_linux | 9.0 |
𝑥
= Vulnerable software versions

Debian Releases

Ubuntu Releases
Ubuntu Product | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
postgresql-10 |
| ||||||||||||||||||
postgresql-12 |
| ||||||||||||||||||
postgresql-13 |
| ||||||||||||||||||
postgresql-14 |
| ||||||||||||||||||
postgresql-9.1 |
| ||||||||||||||||||
postgresql-9.3 |
| ||||||||||||||||||
postgresql-9.5 |
|
Common Weakness Enumeration
- CWE-915 - Improperly Controlled Modification of Dynamically-Determined Object AttributesThe software receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.
- CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')The software receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.