VDB

ALPINE-CVE-2018-1053

ALPINE-CVE-2018-1053 PUBLISHED CVSS 7 HIGH

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.

Risk Scores

CVSS 3.0
7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.18postgresql149.6.0-r0, 9.5.4-r0, 9.5.3-r1
Alpine:v3.6postgresql8.4.2-r0, 8.4.1-r1, 8.4.1-r0
Alpine:v3.4postgresql9.1.2-r1, 9.4.2-r0, 9.4.1-r3
Alpine:v3.20postgresql150, 0, 0
Alpine:v3.16postgresql149.3.4-r1, 9.3.5-r0, 9.3.5-r1
Alpine:v3.15postgresql148.3.7-r0, 9.6.5-r1, 9.6.5-r0
Alpine:v3.17postgresql148.4.0-r1, 9.0.4-r0, 9.0.3-r1
Alpine:v3.13postgresql8.4.1-r0, 9.6.5-r1, 9.6.5-r0
Alpine:v3.8postgresql9.6.3-r0, 9.6.2-r3, 9.6.2-r2
Alpine:v3.17postgresql150, 0, 0
Alpine:v3.12postgresql0, 0, 10.0-r1
Alpine:v3.19postgresql150, 0, 0
Alpine:v3.18postgresql150, 0, 0
Alpine:v3.11postgresql9.4.1-r0, 9.4.0-r0, 9.3.5-r1
Alpine:v3.10postgresql9.0.2-r0, 9.6.5-r1, 9.6.5-r0
Alpine:v3.7postgresql8.4.4-r0, 9.0.1-r0, 9.0.2-r0
Alpine:v3.14postgresql9.5.3-r1, 9.2.3-r0, 9.3.0-r1
Alpine:v3.9postgresql9.1.3-r0, 9.2.1-r2, 9.2.2-r0
Alpine:v3.5postgresql9.6.6-r0, 9.6.5-r0, 9.6.4-r0

Timeline

  • Feb 9, 2018 CVE Published
  • Nov 19, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›