CVE-2024-45339

HIGH EPSS 19.9%
Published Jan 28, 20251y ago · Modified Jun 17, 20262w ago
7.1 CVSS 3.1
High
Find Similar
Published Jan 28, 2025 1y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
7.1
Exploitability
1.8
Impact
5.2
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
19.9% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

References 6

  • github.com https://github.com/golang/glog/pull/74
  • github.com https://github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2
  • groups.google.com https://groups.google.com/g/golang-announce/c/H-Q4ouHWyKs
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/02/msg00019.html
  • owasp.org https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File
  • pkg.go.dev https://pkg.go.dev/vuln/GO-2025-3372

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.