CVE-2018-1053
CVE-2018-1053
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 7.0 · High · EPSS 0.5% · Fix available
- Published
- Updated
Affected products and versions
postgresql
- Versions
- 9.3.x before 9.3.21: Affected
- 9.4.x before 9.4.16: Affected
- 9.5.x before 9.5.11: Affected
- 9.6.x before 9.6.7: Affected
- 10.x before 10.2: Affected
No fix published
postgresql-9.3 Ubuntu:14.04:LTS
- Versions
- 9.3.1-1
- 9.3.2-1
- 9.3.2-1ubuntu1
- 9.3.2-1ubuntu2
- 9.3.3-1
- 9.3.3-1bzr1
- 9.3.3-1bzr2
- 9.3.4-1
- 9.3.5-0ubuntu0.14.04.1
- 9.3.6-0ubuntu0.14.04
- 9.3.7-0ubuntu0.14.04
- 9.3.8-0ubuntu0.4.04
- 9.3.9-0ubuntu0.14.04
- 9.3.10-0ubuntu0.14.04
- 9.3.11-0ubuntu0.14.04
- 9.3.12-0ubuntu0.14.04
- 9.3.13-0ubuntu0.14.04
- 9.3.14-0ubuntu0.14.04
- 9.3.15-0ubuntu0.14.04
- 9.3.16-0ubuntu0.14.04
- 9.3.17-0ubuntu0.14.04
- 9.3.18-0ubuntu0.14.04.1
- 9.3.19-0ubuntu0.14.04
- 9.3.20-0ubuntu0.14.04
- Affected ranges
- ECOSYSTEM: < 9.3.21-0ubuntu0.14.04
Update to 9.3.21-0ubuntu0.14.04
postgresql-9.5 Ubuntu:16.04:LTS
- Versions
- 9.5.0-1
- 9.5.0-2
- 9.5.0-3
- 9.5.1-1
- 9.5.2-1
- 9.5.3-0ubuntu0.16.04
- 9.5.4-0ubuntu0.16.04
- 9.5.5-0ubuntu0.16.04
- 9.5.6-0ubuntu0.16.04
- 9.5.7-0ubuntu0.16.04
- 9.5.8-0ubuntu0.16.04.1
- 9.5.9-0ubuntu0.16.04
- 9.5.10-0ubuntu0.16.04
- Affected ranges
- ECOSYSTEM: < 9.5.11-0ubuntu0.16.04
Update to 9.5.11-0ubuntu0.16.04
Original sources
- https://www.postgresql.org/about/news/1829/
- https://access.redhat.com/errata/RHSA-2018:2511
- https://lists.debian.org/debian-lts-announce/2018/02/msg00006.html
- https://access.redhat.com/errata/RHSA-2018:2566
- https://access.redhat.com/errata/RHSA-2018:3816
- http://www.securityfocus.com/bid/102986
- https://usn.ubuntu.com/3564-1/
- https://nvd.nist.gov/vuln/detail/CVE-2018-1053