Security mailing lists by PureSourceCode

CVE-2018-1053

HIGH 7.0CVSS 3.0

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.

Published
9 Feb 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-377CWE-732
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.0 CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.3 AV:L/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.3.0, < 9.3.21 9.3.21
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.4.0, < 9.4.16 9.4.16
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.5.0, < 9.5.11 9.5.11
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 9.6.0, < 9.6.7 9.6.7
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:10.0:*:*:*:*:*:*:*
= 10.0
NVD postgresql postgresql
cpe:2.3:a:postgresql:postgresql:10.1:*:*:*:*:*:*:*
= 10.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
= 17.10
NVD redhat cloudforms
cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*
= 4.6

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 9 Feb 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.