Link Following Affecting binutils-devel-32bit package, versions <2.37-7.21.2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES152-BINUTILSDEVEL32BIT-2661648
- published 14 Apr 2022
- disclosed 4 Nov 2021
Introduced: 4 Nov 2021
CVE-2021-20197 Open this link in a new tabHow to fix?
Upgrade SLES:15.2 binutils-devel-32bit to version 2.37-7.21.2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream binutils-devel-32bit package and not the binutils-devel-32bit package as distributed by SLES.
See How to fix? for SLES:15.2 relevant fixed versions and status.
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
- https://www.suse.com/security/cve/CVE-2021-20197.html
- https://bugzilla.suse.com/1181452
- https://bugzilla.redhat.com/show_bug.cgi?id=1913743
- https://sourceware.org/bugzilla/show_bug.cgi?id=26945
- https://security.netapp.com/advisory/ntap-20210528-0009/
- https://security.gentoo.org/glsa/202208-30
- https://access.redhat.com/errata/RHSA-2021:4364
- https://access.redhat.com/security/cve/CVE-2021-20197