CVE-2018-1053
lowpriority · track · 28EPSS 0.005 · 41 %ileEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 3.3–7
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (30)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/102986cnnvd
- https://access.redhat.com/errata/RHSA-2018:2511cnnvd
- https://access.redhat.com/errata/RHSA-2018:2566cnnvd
- https://access.redhat.com/errata/RHSA-2018:3816cnnvd
- https://lists.debian.org/debian-lts-announce/2018/02/msg00006.htmlcnnvd
- https://usn.ubuntu.com/3564-1/cnnvd
- https://www.postgresql.org/about/news/1829/cnnvd
- https://www.securityfocus.com/bid/102986cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan