MGASA-2018-0137

    Dashboard / Vulnerabilities / MGASA-2018-0137

    MGASA-2018-0137

    Published: 24 Feb 2018Last Modified: 16 Apr 2026
    Upstream:

    Summary: Updated postgresql packages fix security vulnerability

    Details: 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.

    Affected packages

    Package

    Name: postgresql9.4

    Purl: pkg:rpm/mageia/postgresql9.4?arch=source&distro=mageia-5

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -9.4.16-1.mga5

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High