CVE-2018-1053

In postgresql 9.3.x before 9.3.21, 9.4.x before 9.4.16, 9.5.x before 9.5.11, 9.6.x before 9.6.7 and 10.x before 10.2, pg_upgrade creates file in current working directory containing the output of `pg_dumpall -g` under umask which was in effect when the user invoked pg_upgrade, and not under 0077 which is normally used for other temporary files. This can allow an authenticated attacker to read or modify the one file, which may contain encrypted or unencrypted database passwords. The attack is infeasible if a directory mode blocks the attacker searching the current working directory or if the prevailing umask blocks the attacker opening the file.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7 HIGH
LOCAL
HIGH
LOW
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 33%
VendorProductVersion
postgresqlpostgresql
9.3.0 ≤
𝑥
< 9.3.21
postgresqlpostgresql
9.4.0 ≤
𝑥
< 9.4.16
postgresqlpostgresql
9.5.0 ≤
𝑥
< 9.5.11
postgresqlpostgresql
9.6.0 ≤
𝑥
< 9.6.7
postgresqlpostgresql
10.0
postgresqlpostgresql
10.1
debiandebian_linux
7.0
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
17.10
redhatcloudforms
4.6
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-10
disco
dne
cosmic
not-affected
bionic
not-affected
artful
dne
xenial
dne
trusty
dne
postgresql-9.1
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
dne
trusty
dne
postgresql-9.3
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
dne
trusty
Fixed 9.3.21-0ubuntu0.14.0
released
postgresql-9.4
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
dne
trusty
dne
postgresql-9.5
disco
dne
cosmic
dne
bionic
dne
artful
dne
xenial
Fixed 9.5.11-0ubuntu0.16.04
released
trusty
dne
postgresql-9.6
disco
dne
cosmic
dne
bionic
dne
artful
Fixed 9.6.7-0ubuntu0.17.10
released
xenial
dne
trusty
dne