You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Summary
Insecure Temporary File usage in github.com/golang/glog
Issue 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.
How To Reproduce
Image scan via TwistLock
Expected behavior
Update the glog module from v1.1.0 to v1.2.4
Describe the bug
CVE-2024-45339 is reported for the following images:
config-sync:1.8.3
site-controller:1.8.3
service-controller:1.8.3
https://osv.dev/vulnerability/GHSA-6wxm-mpqj-6jpf
Issue Summary
Insecure Temporary File usage in github.com/golang/glog
Issue 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.
How To Reproduce
Image scan via TwistLock
Expected behavior
Update the
glog
module fromv1.1.0
tov1.2.4
Scan result
twistlock-scan-results-20250207-154539-N-UTC-69B2BCE8.results.csv
The text was updated successfully, but these errors were encountered: