VDB

CVE-2024-45339

CVE-2024-45339 PUBLISHED CVSS 7.099999904632568 HIGH

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.

PackageEcosystemFixed in
github.com/golang/glogGo Modules1.2.4
flux-image-reflector-controllerWolfi0.33.0-r8
kyverno-1.13Wolfi1.13.2-r7
caddyChainguard2.9.1-r3
sriov-network-device-pluginChainguard3.9.0-r1
gitaly-17.5Wolfi17.5.5-r3
gitaly-fips-17.6Chainguard17.6.4-r2
spark-operator-fipsChainguard2.1.0-r2
pulumi-language-javaWolfi1.0.0-r3
vitess-20.0Chainguard20.0.5-r0
terraform-provider-googleChainguard6.18.1-r0
grafana-11.2Wolfi11.2.10.01-r7

86 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.099999904632568
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
github.com/golang/gloggithub.com/golang/glog0
wolfiflux-image-reflector-controller0
wolfikyverno-1.130
chainguardcaddy0
chainguardsriov-network-device-plugin0
wolfigitaly-17.50
chainguardgitaly-fips-17.60
chainguardspark-operator-fips0
wolfipulumi-language-java0
chainguardvitess-20.00
chainguardterraform-provider-google0
wolfigrafana-11.20
chainguardvitess-18.00
chainguardkyverno-1.120
chainguardpulumi-kubernetes-operator0
chainguardgatekeeper-fips-3.150
chainguardkyverno-notation-aws-fips0
wolfisriov-network-device-plugin0
chainguardgrafana-mimir0
chainguardstep0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›