CVE-2018-1053
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
29- Range: >=9.3 <9.3.21
- osv-coords27 versionspkg:rpm/opensuse/postgresql10&distro=openSUSE%20Tumbleweedpkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/postgresql94&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/postgresql94-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/postgresql96&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/postgresql96-libs&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3
< 10.18-1.3+ 26 more
- (no CPE)range: < 10.18-1.3
- (no CPE)range: < 9.4.16-21.16.1
- (no CPE)range: < 9.4.16-0.23.13.2
- (no CPE)range: < 9.4.16-21.16.1
- (no CPE)range: < 9.4.16-21.16.1
- (no CPE)range: < 9.4.16-0.23.13.2
- (no CPE)range: < 9.4.16-21.16.1
- (no CPE)range: < 9.4.16-0.23.13.2
- (no CPE)range: < 9.4.16-0.23.13.2
- (no CPE)range: < 9.4.16-0.23.13.2
- (no CPE)range: < 9.4.16-21.16.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- (no CPE)range: < 9.6.7-3.13.1
- The PostgreSQL Global Development Group/postgresqlv5Range: 9.3.x before 9.3.21
Patches
Vulnerability mechanics
References
7- www.postgresql.org/about/news/1829/nvdPatchRelease NotesThird Party Advisory
- www.securityfocus.com/bid/102986nvdThird Party AdvisoryVDB Entry
- access.redhat.com/errata/RHSA-2018:2511nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:2566nvdThird Party Advisory
- access.redhat.com/errata/RHSA-2018:3816nvdThird Party Advisory
- lists.debian.org/debian-lts-announce/2018/02/msg00006.htmlnvdMailing ListThird Party Advisory
- usn.ubuntu.com/3564-1/nvdThird Party Advisory
News mentions
0No linked articles in our index yet.