CVE-2020-25696
23.11.2020, 22:15
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.Enginsight
Vendor | Product | Version |
---|---|---|
postgresql | postgresql | 9.5.0 ≤ 𝑥 < 9.5.24 |
postgresql | postgresql | 9.6.0 ≤ 𝑥 < 9.6.20 |
postgresql | postgresql | 10.0 ≤ 𝑥 < 10.15 |
postgresql | postgresql | 11.0 ≤ 𝑥 < 11.10 |
postgresql | postgresql | 12.0 ≤ 𝑥 < 12.5 |
postgresql | postgresql | 13.0 ≤ 𝑥 < 13.1 |
debian | debian_linux | 9.0 |
𝑥
= Vulnerable software versions

Debian Releases

Ubuntu Releases
Ubuntu Product | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
postgresql-10 |
| ||||||||||||||||||||||||
postgresql-12 |
| ||||||||||||||||||||||||
postgresql-9.1 |
| ||||||||||||||||||||||||
postgresql-9.3 |
| ||||||||||||||||||||||||
postgresql-9.5 |
|
Common Weakness Enumeration
- CWE-183 - Permissive List of Allowed InputsThe product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses.
- CWE-697 - Incorrect ComparisonThe software compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses.
References