CVE-2020-25696
published 2020-11-23CVE-2020-25696: A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before…
PriorityP347high7.5CVSS 3.1
AVNACHPRNUIRSUCHIHAH
EPSS
2.59%
83.5th percentile
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | postgresql-13 | < postgresql-13 13.1-1 (bullseye) | postgresql-13 13.1-1 (bullseye) |
| msrc | cm1_postgresql_12.7-1_on_cbl_mariner_1.0 | — | — |
| postgresql | postgresql | — | — |
| postgresql | postgresql | >= 10.0 < 10.15 | 10.15 |
| postgresql | postgresql | >= 11.0 < 11.10 | 11.10 |
| postgresql | postgresql | >= 12.0 < 12.5 | 12.5 |
| postgresql | postgresql | >= 13.0 < 13.1 | 13.1 |
| postgresql | postgresql | >= 9.5.0 < 9.5.24 | 9.5.24 |
| postgresql | postgresql | >= 9.6.0 < 9.6.20 | 9.6.20 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.07.6HIGHAV:N/AC:H/Au:N/C:C/I:C/A:C
osv8.1HIGH
vendor_ubuntu8.1HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Incorrect Comparison, Permissive List of Allowed Inputs, and Privilege Context Switching Error in PostgreSQL
ghsa_unreviewed·2022-02-15
CVE-2020-25696 [CRITICAL] CWE-183 Incorrect Comparison, Permissive List of Allowed Inputs, and Privilege Context Switching Error in PostgreSQL
Incorrect Comparison, Permissive List of Allowed Inputs, and Privilege Context Switching Error in PostgreSQL
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
OSV
CVE-2020-25696: A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13
osv·2020-11-23·CVSS 7.5
CVE-2020-25696 [HIGH] CVE-2020-25696: A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
OSV
postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities
osv·2020-11-17·CVSS 8.1
CVE-2020-25694 [HIGH] postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities
postgresql-10, postgresql-12, postgresql-9.5 vulnerabilities
Peter Eisentraut discovered that PostgreSQL incorrectly handled connection
security settings. Client applications could possibly be connecting with
certain security parameters dropped, contrary to expectations.
(CVE-2020-25694)
Etienne Stalmans discovered that PostgreSQL incorrectly handled the
security restricted operation sandbox. An authenticated remote attacker
could possibly use this issue to execute arbitrary SQL functions as a
superuser. (CVE-2020-25695)
Nick Cleaton discovered that PostgreSQL incorrectly handled the \gset
meta-command. A remote attacker with a compromised server could possibly
use this issue to execute arbitrary code. (CVE-2020-25696)
Ubuntu
PostgreSQL vulnerabilities
vendor_ubuntu·2020-11-17·CVSS 8.1
CVE-2020-25694 [HIGH] PostgreSQL vulnerabilities
Title: PostgreSQL vulnerabilities
Summary: Several security issues were fixed in PostgreSQL.
Peter Eisentraut discovered that PostgreSQL incorrectly handled connection
security settings. Client applications could possibly be connecting with
certain security parameters dropped, contrary to expectations.
(CVE-2020-25694)
Etienne Stalmans discovered that PostgreSQL incorrectly handled the
security restricted operation sandbox. An authenticated remote attacker
could possibly use this issue to execute arbitrary SQL functions as a
superuser. (CVE-2020-25695)
Nick Cleaton discovered that PostgreSQL incorrectly handled the \gset
meta-command. A remote attacker with a compromised server could possibly
use this issue to execute arbitrary code. (CVE-2020-25696)
Instructions: This update uses a n
Red Hat
postgresql: psql's \gset allows overwriting specially treated variables
vendor_redhat·2020-11-12·CVSS 7.5
CVE-2020-25696 [HIGH] CWE-183 postgresql: psql's \gset allows overwriting specially treated variables
postgresql: psql's \gset allows overwriting specially treated variables
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
A flaw was found in the psql interactive terminal of PostgreSQL. If an interactive psql session uses \gset when querying a compromised server, this flaw allows an attacker to execute arbitrary code as the operating system account running psql. The highest threat from this vulnerabil
Microsoft
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1 before 12.5 before 11.10 before 10.15 before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset
vendor_msrc·2020-11-10·CVSS 7.5
CVE-2020-25696 [HIGH] CWE-183 A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1 before 12.5 before 11.10 before 10.15 before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1 before 12.5 before 11.10 before 10.15 before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the d
Debian
CVE-2020-25696: postgresql-13 - A flaw was found in the psql interactive terminal of PostgreSQL in versions befo...
vendor_debian·2020·CVSS 7.5
CVE-2020-25696 [HIGH] CVE-2020-25696: postgresql-13 - A flaw was found in the psql interactive terminal of PostgreSQL in versions befo...
A flaw was found in the psql interactive terminal of PostgreSQL in versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. If an interactive psql session uses \gset when querying a compromised server, the attacker can execute arbitrary code as the operating system account running psql. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Scope: local
bullseye: resolved (fixed in 13.1-1)
No detection rules found.
No public exploits indexed.
https://bugzilla.redhat.com/show_bug.cgi?id=1894430https://lists.debian.org/debian-lts-announce/2020/12/msg00005.htmlhttps://security.gentoo.org/glsa/202012-07https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/https://bugzilla.redhat.com/show_bug.cgi?id=1894430https://lists.debian.org/debian-lts-announce/2020/12/msg00005.htmlhttps://security.gentoo.org/glsa/202012-07https://www.postgresql.org/about/news/postgresql-131-125-1110-1015-9620-and-9524-released-2111/
2020-11-23
Published