CVE-2024-45339: Github.com/golang/glog
High severity, CVSS 7.1. EPSS: 0.3% chance of exploitation in the next 30 days.
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 products
- Github.com/golang/glog Github.com/golang/glog: before 1.2.4 (fixed in 1.2.4)
Published 2025-01-28. Last modified 2026-06-17.