Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2022-2625Published 8/18/2022

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.

Vendor advisory
CVSS8.0High

Overview

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.

Published
8/18/2022
Last modified
11/2/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
postgresql
postgresql
≥ 10.0, < 10.22

Verify advisory

Source
postgresql
postgresql
≥ 11.0, < 11.17

Verify advisory

Source
postgresql
postgresql
≥ 12.0, < 12.12

Verify advisory

Source
postgresql
postgresql
≥ 13.0, < 13.8

Verify advisory

Source
postgresql
postgresql
≥ 14.0, < 14.5

Verify advisory

Source
postgresql
postgresql
15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
fedora
fedoraproject
36

Verify advisory

Source
enterprise linux
redhat
6.0

Verify advisory

Source
enterprise linux
redhat
7.0

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux
redhat
9.0

Verify advisory

Source
postgresql
n/a
postgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.