p PatchFirst

CVE-2024-45339

CVE-2024-45339 · Vulnerability when creating log files in github.com/golang/glog

CVSS 7.1 · High · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-glog"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:11126-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2026:22242-1 · SUSE Linux Micro 6.0 ·
  • openSUSE-SU-2025:15764-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2025:20746-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2025:02150-1 · SUSE Linux Enterprise Module for Public Cloud 12 ·
  • SUSE-SU-2025:02149-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Public Cloud 15 SP3, SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Module for Public Cloud 15 SP5, SUSE Linux Enterprise Module for Public Cloud 15 SP6, SUSE Linux Enterprise Module for Public Cloud 15 SP7 ·
  • SUSE-SU-2025:01985-1 · SUSE Manager Server 4.3 ·
  • RHSA-2025:2223 · Red Hat ocp tools 4.12 el8 ·
  • SUSE-SU-2025:0624-1 · SUSE Manager Client Tools 15 ·
  • SUSE-SU-2025:0623-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
  • SUSE-SU-2025:0622-1 · SUSE Manager Client Tools 12 ·
  • SUSE-SU-2025:0611-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Public Cloud 15 SP3, SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Module for Public Cloud 15 SP5, SUSE Linux Enterprise Module for Public Cloud 15 SP6 ·
  • SUSE-SU-2025:0580-1 · SUSE Linux Enterprise Module for Public Cloud 12 ·
  • openSUSE-SU-2025:14815-1 · openSUSE Tumbleweed ·
  • DLA-4056-1 · Debian 11 ·
  • SUSE-SU-2025:0429-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
  • SUSE-SU-2025:0297-1 · openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP6 ·
  • openSUSE-SU-2025:14710-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • github.com/golang/glog

    Versions
    • ≥ 0, < 1.2.4: Affected (semver)

    Update to 1.2.4

  • golang-glog Debian 12

    Versions
    • 0.0~git20160126.23def4e-5
    • 1.1.2-1
    • 1.2.2-1
    • 1.2.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-glog Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.2.4-1

    Update to 1.2.4-1

  • golang-glog Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.2.4-1

    Update to 1.2.4-1

  • golang-glog Ubuntu 16.04 LTS

    Versions
    • 0+git20150214.44145f0-2
    • 0+git20150801.fca8c88-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-glog Ubuntu 18.04 LTS

    Versions
    • 0+git20150801.fca8c88-1
    • 0.0~git20160126.23def4e-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-glog Ubuntu 20.04 LTS

    Versions
    • 0.0~git20160126.23def4e-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-glog Ubuntu 22.04 LTS

    Versions
    • 0.0~git20160126.23def4e-3
    • 0.0~git20160126.23def4e-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-glog Ubuntu 24.04 LTS

    Versions
    • 0.0~git20160126.23def4e-5
    • 1.1.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →