CVE-2024-45339 - CVE House
Back to Database
Status published Unknown CVE-2024-45339

Vulnerability when creating log files in github.com/golang/glog

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-45339

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Josh McSavaney
  • Günther Noack

Affected Vendor

github.com/golang/glog

View all reports →

Affected Software

github.com/golang/glog
Vulnerable Versions:
0

Timeline

Official Publish: January 28th, 2025
Last Modified: April 30th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.