Skip to main content
CVE-2024-45339VulnerabilityPublished Updated

Golang glog: When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict

Affects golang-glogSource GCVE Database

0
Compare
Authoritative record:CVE-2024-45339· High 7.1

Not known to be exploited · CVSS 7.1 High.

Data as of 24 Nov 2026, 21:14 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 24% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jan 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSgolang-glogpkg:deb/ubuntu/golang-glog?arch=source&distro=nobleOther threatsAffected
  • =0.0~git20160126.23def4e-5
  • =1.1.2-1
Fixed in–
Ubuntu 22.04 LTSgolang-glogpkg:deb/ubuntu/golang-glog?arch=source&distro=jammyOther threatsAffected
  • =0.0~git20160126.23def4e-3
  • =0.0~git20160126.23def4e-5
Fixed in–
Ubuntu 20.04 LTSgolang-glogpkg:deb/ubuntu/golang-glog?arch=source&distro=focalOther threatsAffected
  • =0.0~git20160126.23def4e-3
Fixed in–
Ubuntu 18.04 LTSgolang-glogpkg:deb/ubuntu/golang-glog?arch=source&distro=bionicOther threatsAffected
  • =0+git20150801.fca8c88-1
  • =0.0~git20160126.23def4e-1
Fixed in–
Ubuntu 16.04 LTSgolang-glogpkg:deb/ubuntu/golang-glog?arch=source&distro=xenialOther threatsAffected
  • =0+git20150214.44145f0-2
  • =0+git20150801.fca8c88-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…