{"id":"CVE-2021-20197","state":"PUBLISHED","title":"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 p","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.","publishedAt":"2021-03-26T16:47:20.000Z","updatedAt":"2025-12-03T15:08:21.724Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"redhat","products":["n/a binutils"],"affected":[{"vendor":"n/a","product":"binutils","versions":[{"version":"binutils 2.35","status":"affected"}]}],"references":["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"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T19:47:55.610Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/20xxx/CVE-2021-20197.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-20197","state":"PUBLISHED","datePublished":"2021-03-26T16:47:20.000Z","dateUpdated":"2025-12-03T15:08:21.724Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2020-12-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"binutils","versions":[{"version":"binutils 2.35","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1913743","tags":["x_refsource_MISC"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=26945","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0009/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202208-30","name":"GLSA-202208-30","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2022-08-15T00:12:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1913743","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=26945","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0009/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202208-30","name":"GLSA-202208-30","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:30:07.480Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.3,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-12-03T15:08:08.170713Z","id":"CVE-2021-20197","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-03T15:08:21.724Z"}}]}}}