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.

Categories

7.0
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.13%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory ubuntu.com
Affected: The PostgreSQL Global Development Group postgresql
Published at:
Updated at:

References

Link Tags
https://www.postgresql.org/about/news/1829/ patch third party advisory release notes
https://access.redhat.com/errata/RHSA-2018:2511 third party advisory vendor advisory
https://lists.debian.org/debian-lts-announce/2018/02/msg00006.html third party advisory mailing list
https://access.redhat.com/errata/RHSA-2018:2566 third party advisory vendor advisory
https://access.redhat.com/errata/RHSA-2018:3816 third party advisory vendor advisory
http://www.securityfocus.com/bid/102986 third party advisory vdb entry
https://usn.ubuntu.com/3564-1/ third party advisory vendor advisory

Frequently Asked Questions

What is the severity of CVE-2018-1053?
CVE-2018-1053 has been scored as a high severity vulnerability.
How to fix CVE-2018-1053?
To fix CVE-2018-1053, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-1053 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2018-1053 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2018-1053?
CVE-2018-1053 affects The PostgreSQL Global Development Group postgresql.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.