CVE-2024-45339

HIGH

glog < 1.2.4 - Symlink Attack via Predictable Log File Path

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.1
EPSS 0.0007
EPSS Percentile 21.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

Status published
Products (2)
github.com/golang/glog/github.com/golang/glog < 1.2.4
golang/glog 0 - 1.2.4Go
Published Jan 28, 2025
Tracked Since Feb 18, 2026