CVE-2024-45339
Vulnerability when creating log files in github.com/golang/glog
Reported by go · Published January 28, 2025
github.com/golang/glog is fixed in 1.2.4 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/golang/glog | Go Modules | 1.2.4 |
| flux-image-reflector-controller | Wolfi | 0.33.0-r8 |
| kyverno-1.13 | Wolfi | 1.13.2-r7 |
| caddy | Chainguard | 2.9.1-r3 |
| sriov-network-device-plugin | Chainguard | 3.9.0-r1 |
| gitaly-17.5 | Wolfi | 17.5.5-r3 |
| gitaly-fips-17.6 | Chainguard | 17.6.4-r2 |
| spark-operator-fips | Chainguard | 2.1.0-r2 |
| pulumi-language-java | Wolfi | 1.0.0-r3 |
| vitess-20.0 | Chainguard | 20.0.5-r0 |
| terraform-provider-google | Chainguard | 6.18.1-r0 |
| grafana-11.2 | Wolfi | 11.2.10.01-r7 |
86 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| github.com/golang/glog | github.com/golang/glog | 0 |
| wolfi | flux-image-reflector-controller | 0 |
| wolfi | kyverno-1.13 | 0 |
| chainguard | caddy | 0 |
| chainguard | sriov-network-device-plugin | 0 |
| wolfi | gitaly-17.5 | 0 |
| chainguard | gitaly-fips-17.6 | 0 |
| chainguard | spark-operator-fips | 0 |
| wolfi | pulumi-language-java | 0 |
| chainguard | vitess-20.0 | 0 |
| chainguard | terraform-provider-google | 0 |
| wolfi | grafana-11.2 | 0 |
| chainguard | vitess-18.0 | 0 |
| chainguard | kyverno-1.12 | 0 |
| chainguard | pulumi-kubernetes-operator | 0 |
| chainguard | gatekeeper-fips-3.15 | 0 |
| chainguard | kyverno-notation-aws-fips | 0 |
| wolfi | sriov-network-device-plugin | 0 |
| chainguard | grafana-mimir | 0 |
| chainguard | step | 0 |
…and 117 more
Timeline
- Jan 28, 2025 CVE Published
- Jan 28, 2025 EPSS Score (30 in total, the first dated here)
- Jan 28, 2025 Coalition ESS Score (14 in total, the first dated here)
- Mar 17, 2026 Security Advisory (35 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (33 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-45339
vulnetix vdb fixes CVE-2024-45339
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-45339/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart