{"schemaVersion":3,"id":"CVE-2021-20197","aliases":["UBUNTU-CVE-2021-20197","DEBIAN-CVE-2021-20197"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-26T16:47:20.000Z","modified":"2025-12-03T15:08:21.724Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":2.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":2.6,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.3,"severity":"low","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00304,"percentile":0.21709,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00304},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00304,"percentile":0.21709}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00304,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00304,"percentile":0.21709}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access ('Link Following')","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","description":"The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/362.html"}],"affected":[{"vendor":"broadcom","product":"brocade_fabric_operating_system_firmware","name":"brocade fabric operating system firmware","label":"brocade_fabric_operating_system_firmware","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/broadcom/brocade_fabric_operating_system"},{"vendor":"debian","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/binutils","purlType":"deb","versions":[{"text":"< 2.37-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.37-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"binutils","name":"binutils","label":"binutils","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/binutils","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"gnu","product":"binutils","name":"binutils","label":"binutils","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.35","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.35","eol":null,"hubHref":"/vendor/gnu/binutils"},{"vendor":"netapp","product":"cloud_backup","name":"cloud backup","label":"cloud_backup","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/cloud_backup"},{"vendor":"netapp","product":"ontap_select_deploy_administration_utility","name":"ontap select deploy administration utility","label":"ontap_select_deploy_administration_utility","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/ontap_select_deploy_administration_utility"},{"vendor":"netapp","product":"solidfire_\\&_hci_management_node","name":"solidfire \\& hci management node","label":"solidfire_\\&_hci_management_node","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/solidfire__hci_management_node"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1913743","label":"bugzilla.redhat.com/show_bug.cgi?id=1913743","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=26945","label":"sourceware.org/bugzilla/show_bug.cgi?id=26945","hostname":"sourceware.org","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0009/","label":"security.netapp.com/advisory/ntap-20210528-0009/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202208-30","label":"security.gentoo.org/glsa/202208-30","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-20197","label":"ubuntu.com/security/CVE-2021-20197","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20197","label":"www.cve.org/CVERecord?id=CVE-2021-20197","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-20197","label":"security-tracker.debian.org/tracker/CVE-2021-20197","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20197","label":"nvd.nist.gov/vuln/detail/CVE-2021-20197","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2021-0341","OPENSUSE-SU-2021:1475-1","OPENSUSE-SU-2021:3616-1","OPENSUSE-SU-2024:10651-1","RHSA-2021:4364","SUSE-SU-2021:3593-1","SUSE-SU-2021:3616-1","SUSE-SU-2022:0934-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:1475-1","OPENSUSE-SU-2021:3616-1","OPENSUSE-SU-2024:10651-1","SUSE-SU-2021:3593-1","SUSE-SU-2021:3616-1","SUSE-SU-2022:0934-1"]},"timeline":[{"kind":"published","date":"2021-03-26T16:47:20.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-03T15:08:21.724Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T12:50:32.077Z","stale":false,"partial":false}}