Vulnerabilities

CVE-2022-2625

High 8.0 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2022-08-18
Last modified
2026-11-02
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.5 % higher than 72 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Fedoraproject Fedora 36 Affected
Postgresql Postgresql 15 Affected
Postgresql Postgresql ≥ 10.0, < 10.22 Affected
Postgresql Postgresql ≥ 11.0, < 11.17 Affected
Postgresql Postgresql ≥ 12.0, < 12.12 Affected
Postgresql Postgresql ≥ 13.0, < 13.8 Affected
Postgresql Postgresql ≥ 14.0, < 14.5 Affected
Redhat Enterprise Linux 6.0 Affected
Redhat Enterprise Linux 7.0 Affected
Redhat Enterprise Linux 8.0 Affected
Redhat Enterprise Linux 9.0 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1574.010: Services File Permissions Weakness stealth, execution

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities