CVE-2024-45339
Last modified
CVE-2024-45339 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-45339?
How severe is CVE-2024-45339?
How do I fix CVE-2024-45339?
Are you affected by CVE-2024-45339?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
