{"cve":"CVE-2024-45339","nvd":{"published":"2025-01-28T02:15:28.927","modified":"2026-06-17T07:54:03.643","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.1},"cwes":[],"references":["https://github.com/golang/glog/pull/74","https://github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2","https://groups.google.com/g/golang-announce/c/H-Q4ouHWyKs","https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File","https://pkg.go.dev/vuln/GO-2025-3372"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:58:41.599736885+00:00"},"epss":{"cve":"CVE-2024-45339","score":0.00318,"percentile":0.24732,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6wxm-mpqj-6jpf","url":"https://osv.dev/vulnerability/GHSA-6wxm-mpqj-6jpf","summary":"Insecure Temporary File usage in github.com/golang/glog","modified":"2026-09-10T03:50:56.272730297Z","packages":[{"ecosystem":"Go","name":"github.com/golang/glog","purl":"pkg:golang/github.com/golang/glog","ranges":["<1.2.4"],"fixed":["1.2.4"]}]},{"id":"GO-2025-3372","url":"https://osv.dev/vulnerability/GO-2025-3372","summary":"Vulnerability when creating log files in github.com/golang/glog","modified":"2026-02-04T04:04:12.085948Z","packages":[{"ecosystem":"Go","name":"github.com/golang/glog","purl":"pkg:golang/github.com/golang/glog","ranges":["<1.2.4"],"fixed":["1.2.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}