Live threats

All CVEs / github.com/golang/glog

CVE-2024-45339github.com/golang/glog

High 7.1

Priority
43
CVSS 3.1
7.1
EPSS
0.3%
probability of exploitation in 30 days · percentile 20
Auth required
Yes
Published
Jan 28, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for github.com/golang/glog.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/golang/glog < 1.2.4 1.2.4 go get github.com/golang/glog@v1.2.4
Go github.com/golang/glog < 1.2.4 1.2.4 go get github.com/golang/glog@v1.2.4

Per OSV / GitHub Advisories (GHSA-6wxm-mpqj-6jpf, GO-2025-3372). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.