Security mailing lists by PureSourceCode

CVE-2024-45339

HIGH 7.1CVSS 3.1

Insecure Temporary File usage in github.com/golang/glog

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.

Published
28 Jan 2025
Last modified
10 Sep 2026
Assigned by
security@golang.org
NVD status
Deferred
Weakness
CWE-377CWE-61
Also known as
GHSA-6wxm-mpqj-6jpfGO-2025-3372
Sources
NVDJSONOSV GHSA-6wxm-mpqj-6jpfJSONOSV GO-2025-3372JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/golang/glog < 1.2.4 1.2.4

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 28 Jan 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jan 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.