CVE-2024-45339: Vulnerability when creating log files in github.com/golang/glog
Vulnerability summary
CVE-2024-45339 is a high (CVSS 7.1) vulnerability in github.com/golang/glog. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 24.7% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 48Timeline
- 28-01-2025PublishedVulnerability first disclosed.
- 30-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · GoEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- NVDNIST7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard150 products
- amass< 4.2.0-r18
- caddy< 2.9.1-r3
- caddy-fips< 2.9.1-r3
- caddy-man< 2.9.1-r3
- caddy-src< 2.9.1-r3
Wolfi50 products
- amass< 4.2.0-r18
- caddy< 2.9.1-r3
- caddy-man< 2.9.1-r3
- caddy-src< 2.9.1-r3
- cert-exporter< 2.14.0-r5
2 vendors · 200 products · Showing 200 of 240
References
26 linksShow all 26 references
- pkg.go.devWEB
- github.com/golang/glogPACKAGE
- lists.opensuse.org/archives/…Advisory