CVE-2020-25696
PostgreSQL
HIGH 7.5
At a glance
- Source
- NVD
- EPSS
- EPSS 2.70 % · percentile 86 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.6 | AV:N/AC:H/Au:N/C:C/I:C/A:C | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2020-18357
- GCVE · GCVE-0-2020-25696
CERT-FR advisories
- CERTFR-2022-AVI-650 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2020-AVI-744 — Multiples vulnérabilités dans PostgreSQL · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*≥ 9.5.0 < 9.5.24cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*≥ 9.6.0 < 9.6.20cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*≥ 10.0 < 10.15cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*≥ 11.0 < 11.10cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*≥ 12.0 < 12.5cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*≥ 13.0 < 13.1cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| PostgreSQL | affected All PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |