In postgresql 9.4.x before 9.4.16 and 9.6.x before 9.6.7, pgupgrade creates
file in current working directory containing the output of pg_dumpall -g
under umask which was in effect when the user invoked pgupgrade, 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.