CVE-2024-45339

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-45339
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45339.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45339
Aliases
Related
Published
2025-01-28T02:15:28Z
Modified
2025-01-28T23:49:54.135111Z
Summary
[none]
Details

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

Affected packages

Debian:11 / golang-glog

Package

Name
golang-glog
Purl
pkg:deb/debian/golang-glog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20160126.23def4e-3
0.0~git20160126.23def4e-4
0.0~git20160126.23def4e-5

1.*

1.1.2-1
1.2.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-glog

Package

Name
golang-glog
Purl
pkg:deb/debian/golang-glog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20160126.23def4e-5

1.*

1.1.2-1
1.2.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-glog

Package

Name
golang-glog
Purl
pkg:deb/debian/golang-glog?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.0~git20160126.23def4e-5

1.*

1.1.2-1
1.2.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}