Vulnerabilities · 2022 · Postgresql
CVE-2022-2625
Postgresql vulnerability
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.
Affected products
Postgresql, Fedora, Enterprise Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgresql runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-249 · Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2113825 · Third Party Advisory
- security.gentoo.org/glsa/202211-04 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-2625
- cve.org/CVERecord?id=CVE-2022-2625
More vulnerabilities in Postgresql products
CVE-2025-49146CVE-2024-10979CVE-2024-10978CVE-2024-10977CVE-2024-10976CVE-2024-7348CVE-2024-4317CVE-2024-1597All 168
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.