Updated postgresql packages fix security vulnerability
Publication date: 24 Feb 2018Modification date: 24 Feb 2018
Type: security
Affected Mageia releases : 5 , 6
CVE: CVE-2018-1053
Description
In postgresql 9.4.x before 9.4.16 and 9.6.x before 9.6.7, 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 (CVE-2018-1053). Note that on Mageia 5, only the postgresql9.4 update is being provided. Users of the postgresql9.3 package should migrate to 9.4.
References
SRPMS
5/core
- postgresql9.4-9.4.16-1.mga5
6/core
- postgresql9.4-9.4.16-1.mga6
- postgresql9.6-9.6.7-1.mga6