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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2021-03-26T16:47:20

Updated: 2024-08-03T17:30:07.480Z

Reserved: 2020-12-17T00:00:00

Link: CVE-2021-20197

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-03-26T17:15:12.920

Modified: 2024-11-21T05:46:06.807

Link: CVE-2021-20197

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-01-07T00:00:00Z

Links: CVE-2021-20197 - Bugzilla