🛡️ GHSA-xgxp-9x8p-gcw4 — postgresql (CVE-2020-25695)

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-89 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

SQL Injection

A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.

Weakness class

GHSA-xgxp-9x8p-gcw4 is classified as CWE-89: SQL Injection. Untrusted input is concatenated into an SQL statement, letting an attacker change the query and reach data the request should not return.

Affected software

GHSA-xgxp-9x8p-gcw4 is recorded against 1 package.

  • org.postgresql:postgresql (fixed in 13.1)

Timeline and source

Published on 15 February 2022 and last revised on 14 March 2023. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
bugzilla.redhat.com (Web)
lists.debian.org (Web)
security.gentoo.org (Web)
security.netapp.com (Web)
www.postgresql.org (Web)

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE CWE-89
Public Exploit ✅ No
Source OSV
Published 2022-02-15
Updated 2026-08-20
Modified 2023-03-14
Fix URL N/A

Affected Packages

Software From version Fixed in
org.postgresql:postgresql 13.1

Site Security Check

Is postgresql part of your stack?

GHSA-xgxp-9x8p-gcw4 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated