{"id":"CVE-2024-45339","published":"2025-01-28T01:03:24Z","modified":"2026-04-30T03:56:03Z","title":"Vulnerability when creating log files in github.com/golang/glog","vendor":"github.com/golang/glog","product":"github.com/golang/glog","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00316,"percentile":0.24935,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2","tags":[]},{"url":"https://github.com/golang/glog/pull/74","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/H-Q4ouHWyKs","tags":[]},{"url":"https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-3372","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00019.html","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.99},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"github-com-golang-glog","affectedVersions":[{"vendor":"github.com/golang/glog","product":"github.com/golang/glog","versions":["< 1.2.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-29T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/golang/glog","vulnerableRanges":["<1.2.4"],"patched":["1.2.4"],"from":["GHSA-6wxm-mpqj-6jpf","GO-2025-3372"],"provenance":"source"}],"summary":{"text":"The glog Go logging library (github.com/golang/glog) creates log files in a widely writable directory by default, where a predictable log file path can be pre-created as a symbolic link by an unprivileged local user. An attacker with local, low-privilege access and no user interaction can exploit this when a privileged process starts, causing it to follow the planted symlink and overwrite a sensitive file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:28Z"},"euvd":{"id":"EUVD-2025-0139","exploited":false,"provenance":"source"}}