Summary
It was discovered that glog followed symbolic links when creating log files
in a world-writable directory, which is the default. A local attacker could
possibly use this issue to overwrite arbitrary files with the privileges of
a program using glog.
Fixed packages 5
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | golang-glog | 0+git20150801.fca8c88-1ubuntu0.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | golang-glog | 0.0~git20160126.23def4e-1ubuntu0.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | golang-glog | 0.0~git20160126.23def4e-3ubuntu0.1~esm1 |
| Ubuntu · Pro 22.04 LTS Pro:22.04:LTS | golang-glog | 0.0~git20160126.23def4e-5ubuntu0.1~esm1 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | golang-glog | 1.1.2-1ubuntu0.1~esm1 |
Vulnerabilities 1
-
High 7.1
Vulnerability when creating log files 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 th…
References
-
report
https://ubuntu.com/security/CVE-2024-45339