CVE-2021-20197

Description

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.

Risk Information

Base Score
6.3
MODERATE
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS Score
Exploitation Probability
0.119

Associated Vulnerability

VulnerabilityOS Platform
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) binutils-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) binutils-debuginfo-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) binutils-debugsource-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) binutils-devel-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) libctf-nobfd0-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) libctf-nobfd0-debuginfo-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) libctf0-2.37-9.39.1.x86_64.rpmLinux
SUSE-SU-2021:3593-1(SUSE Linux Enterprise Server 12-SP5 ) libctf0-debuginfo-2.37-9.39.1.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234