There is an open race window when writing output in the following utilities in GNU binutils version 2.35 and earlier:ar, objcopy, strip, ranlib. When these utilities are run as a privileged user (presumably as part of a script updating binaries across different users), an unprivileged user can trick these utilities into getting ownership of arbitrary files through a symlink.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1913743 | Issue Tracking Patch Third Party Advisory |
https://sourceware.org/bugzilla/show_bug.cgi?id=26945 | Issue Tracking Patch Third Party Advisory |
https://security.netapp.com/advisory/ntap-20210528-0009/ | Third Party Advisory |
https://security.gentoo.org/glsa/202208-30 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2021-03-26 10:15
Updated : 2023-02-12 14:15
NVD link : CVE-2021-20197
Mitre link : CVE-2021-20197
JSON object : View
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
Products Affected
netapp
- cloud_backup
- solidfire_\&_hci_management_node
- ontap_select_deploy_administration_utility
redhat
- enterprise_linux
gnu
- binutils
broadcom
- brocade_fabric_operating_system_firmware