CVE-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 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 50%
VendorProductVersion
postgresqlpostgresql
9.5.0 ≤
𝑥
< 9.5.24
postgresqlpostgresql
9.6.0 ≤
𝑥
< 9.6.20
postgresqlpostgresql
10.0 ≤
𝑥
< 10.15
postgresqlpostgresql
11.0 ≤
𝑥
< 11.10
postgresqlpostgresql
12.0 ≤
𝑥
< 12.5
postgresqlpostgresql
13.0 ≤
𝑥
< 13.1
debiandebian_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
postgresql-13
bullseye (security)
13.16-0+deb11u1
fixed
bullseye
13.16-0+deb11u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-10
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
Fixed 10.15-0ubuntu0.18.04.1
released
xenial
dne
trusty
dne
postgresql-12
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
Fixed 12.5-0ubuntu0.20.10.1
released
focal
Fixed 12.5-0ubuntu0.20.04.1
released
bionic
dne
xenial
dne
trusty
dne
postgresql-9.1
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-9.3
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
dne
trusty
deferred
postgresql-9.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
bionic
dne
xenial
Fixed 9.5.24-0ubuntu0.16.04.1
released
trusty
dne