CVE-2024-45339: github.com/golang/glog · UNIX Symbolic Link (Symlink) Following
Affects github.com/golang/glogSource GCVE Database
Not known to be exploited · CVSS 7.1 High.
Data as of 27 Oct 2026, 00:14 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| github.com/golang/glog github.com/golang/glog | Affected
| Fixed in– |
AI-suggested
The vulnerability is fixed by the golang/glog project by making the program exit with status code 2 if the configured log file already exists, preventing overwriting via symlinks. Users should update to the fixed version of golang/glog that includes this behavior. No additional mitigations are specified or required beyond applying this fix.
Description
CVE-2024-45339 is a high-severity vulnerability in the golang/glog logging library where symbolic link (symlink) following can lead to unauthorized file overwrites. When logs are written to a widely-writable directory, an attacker can create a symlink pointing to a sensitive file. A privileged process writing logs may follow this symlink and overwrite the sensitive file. The vulnerability is addressed by causing the program to exit with status code 2 if the log file already exists, preventing overwriting via symlinks.
References
- github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2 (opens in a new tab)
- github.com/golang/glog/pull/74 (opens in a new tab)
- groups.google.com/g/golang-announce/c/H-Q4ouHWyKs (opens in a new tab)
- owasp.org/www-community/vulnerabilities/Insecure_Temporary_File (opens in a new tab)
- pkg.go.dev/vuln/GO-2025-3372 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/02/msg00019.html (opens in a new tab)