Privilege Defined With Unsafe Actions The advisory has been revoked - it doesn't affect any version of package postgresql-plpython3  (opens in a new tab)


Threat Intelligence

EPSS
2.14% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-POSTGRESQLPLPYTHON3-9371665
  • published8 Mar 2025
  • disclosed11 Aug 2022

Introduced: 11 Aug 2022

CVE-2022-2625  (opens in a new tab)
CWE-267  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-plpython3 package and not the postgresql-plpython3 package as distributed by RHEL.

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.