GHSA-6wxm-mpqj-6jpf

    Dashboard / Vulnerabilities / GHSA-6wxm-mpqj-6jpf

    GHSA-6wxm-mpqj-6jpf

    Published: 28 Jan 2025Last Modified: 10 Sept 2026

    Summary: Insecure Temporary File usage in github.com/golang/glog

    Details: When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists.

    Affected packages

    Package

    Name: github.com/golang/glog

    Purl: pkg:golang/github.com/golang/glog

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.2.4

    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
    GHSA-6wxm-mpqj-6jpf | CVE-DB