Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-20197

Published: 26 March 2021

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.

Notes

AuthorNote
mdeslaur
commits below are from 2.36 branch. At some point, commits were
reverted and then reinstated later on. The list below doesn't
include the added and reverted commits.

These changes are quite intrusive to backport, are regression-
prone and may introduce regressions in other packages. For this
reason we will not be fixing this issue in stable releases.

Priority

Low

Cvss 3 Severity Score

6.3

Score breakdown

Severity score breakdown

Parameter Value
Base score 6.3
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact None
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N