CVE Database
/

CVE-2024-45339

Back to search

CVE-2024-45339

Published: Jan 28, 2025

Modified: Apr 30, 2026

PUBLISHED

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.

VendorProductVersions

github.com/golang/glog

github.com/golang/glog

affected
0 - < 1.2.4

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now