# CVE-2018-1053

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-02-09 · Modified: 2024-09-17
- Aliases: ALPINE-CVE-2018-1053, MGASA-2018-0137, SUSE-SU-2018:0506-1, SUSE-SU-2018:0507-1, SUSE-SU-2018:0675-1, UBUNTU-CVE-2018-1053, USN-3564-1, DLA-1271-1
- Record: https://cvemate.com/vulnerability/CVE-2018-1053 · JSON: https://cvemate.com/vulnerability/CVE-2018-1053/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.0, NVD) CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.482%, percentile 43.212%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 40)

- alpine postgresql (Alpine Linux): ≥ 9.3.0, \< 10.2-r0 \| ≥ 9.3.0, \< 9.5.11-r0 \| ≥ 9.3.0, \< 9.6.7-r0 \| ≥ 9.6.0, \< 10.2-r0 \| ≥ 9.5.0, \< 9.5.11-r0 \| ≥ 9.6.0, \< 9.6.7-r0
- alpine postgresql14 (Alpine Linux): \< 10.2-r0
- alpine postgresql15 (Alpine Linux): \< 10.2-r0
- canonical ubuntu\_linux: 14.04 \| 16.04 \| 17.10
- debian postgresql-9.1 (Debian): \< 9.1.24lts2-0+deb7u2
- ubuntu postgresql-9.3 (Ubuntu): \< 9.3.21-0ubuntu0.14.04
- ubuntu postgresql-9.5 (Ubuntu): \< 9.5.11-0ubuntu0.16.04
- debian debian\_linux: 7.0
- mageia postgresql9.4 (Mageia): \< 9.4.16-1.mga5
- mageia postgresql9.4 (Mageia): \< 9.4.16-1.mga6
- mageia postgresql9.6 (Mageia): \< 9.6.7-1.mga6
- postgresql postgresql: ≥ 9.3.0, \< 9.3.21 \| ≥ 9.4.0, \< 9.4.16 \| ≥ 9.5.0, \< 9.5.11 \| ≥ 9.6.0, \< 9.6.7 \| 10.0 \| 1.01
- redhat cloudforms: 4.6
- suse postgresql94-libs&distro=SUSE Linux Enterprise Server 11 SP4 (SUSE Linux Enterprise): \< 9.4.16-0.23.13.2
- suse postgresql94-libs&distro=SUSE Linux Enterprise Server for SAP Applications 11 SP4 (SUSE Linux Enterprise): \< 9.4.16-0.23.13.2
- suse postgresql94-libs&distro=SUSE Linux Enterprise Software Development Kit 11 SP4 (SUSE Linux Enterprise): \< 9.4.16-0.23.13.2
- suse postgresql94-libs&distro=SUSE Linux Enterprise Software Development Kit 12 SP2 (SUSE Linux Enterprise): \< 9.4.16-21.16.1
- suse postgresql94&distro=SUSE Linux Enterprise Desktop 12 SP2 (SUSE Linux Enterprise): \< 9.4.16-21.16.1
- suse postgresql94&distro=SUSE Linux Enterprise Server 11 SP4 (SUSE Linux Enterprise): \< 9.4.16-0.23.13.2
- suse postgresql94&distro=SUSE Linux Enterprise Server 12 SP2 (SUSE Linux Enterprise): \< 9.4.16-21.16.1

## References

- <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://security.alpinelinux.org/vuln/CVE-2018-1053>
- <https://advisories.mageia.org/MGASA-2018-0137.html>
- <https://bugs.mageia.org/show_bug.cgi?id=22556>
- <https://www.postgresql.org/docs/9.4/static/release-9-4-16.html>
- <https://www.postgresql.org/docs/9.6/static/release-9-6-7.html>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20180506-1/>
- <https://bugzilla.suse.com/1077983>
- <https://www.suse.com/security/cve/CVE-2018-1053>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20180507-1/>
- <https://www.suse.com/support/update/announcement/2018/suse-su-20180675-1/>
- <https://ubuntu.com/security/CVE-2018-1053>
- <https://ubuntu.com/security/notices/USN-3564-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-1053>

---

Data as of 2026-12-05T03:26:21.531Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
