{"schemaVersion":3,"id":"CVE-2021-42381","aliases":["ALPINE-CVE-2021-42381","UBUNTU-CVE-2021-42381","DEBIAN-CVE-2021-42381"],"status":"published","duplicateOf":null,"title":null,"description":"A use-after-free in Busybox's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the hash_init function","dates":{"published":"2021-11-15T00:00:00.000Z","modified":"2025-11-03T20:34:09.730Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02795,"percentile":0.86224,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.022999999999999757,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02772},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02795,"percentile":0.86224}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02772,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02795,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02795,"percentile":0.86224}]},"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-416","name":"Use After Free","description":"The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory \"belongs\" to the code that operates on the new pointer.","type":"weakness","status":"Stable","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/416.html"}],"affected":[{"vendor":"alpine","product":"busybox","name":"busybox","label":"busybox","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/busybox","purlType":"apk","versions":[{"text":"≥ 1.21.0, < 1.31.1-r11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.31.1-r21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.32.1-r7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.33.1-r6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, < 1.34.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.21.0, < 1.31.1-r11 | ≥ 1.21.0, < 1.31.1-r21 | ≥ 1.21.0, < 1.32.1-r7 | ≥ 1.21.0, < 1.33.1-r6 | ≥ 1.21.0, < 1.34.0-r0","eol":null,"hubHref":null},{"vendor":"busybox","product":"busybox","name":"busybox","label":"busybox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 1.34.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.21.0, ≤ 1.33.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 1.34.0 | ≥ 1.21.0, ≤ 1.33.1","eol":null,"hubHref":"/vendor/busybox/busybox"},{"vendor":"debian","product":"busybox","name":"busybox","label":"busybox","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/busybox","purlType":"deb","versions":[{"text":"< 1:1.35.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:1.35.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"busybox","name":"busybox","label":"busybox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/busybox","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:1.27.2-2ubuntu3.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:1.30.1-4ubuntu6.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:1.30.1-7ubuntu2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:1.27.2-2ubuntu3.4 | < 1:1.30.1-4ubuntu6.4 | < 1:1.30.1-7ubuntu2","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/","label":"jfrog.com/blog/unboxing-busybox-14-new-vulnerabilities-uncovered-by-claroty-and-jfrog/","hostname":"jfrog.com","tags":["REPORT","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UQXGOGWBIYWOIVXJVRKHZR34UMEHQBXS/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6T2TURBYYJGBMQTTN2DSOAIQGP7WCPGV/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211223-0002/","label":"security.netapp.com/advisory/ntap-20211223-0002/","hostname":"security.netapp.com","tags":["Third Party Advisory"]},{"url":"https://claroty.com/team82/research/unboxing-busybox-14-vulnerabilities-uncovered-by-claroty-jfrog","label":"claroty.com/team82/research/unboxing-busybox-14-vulnerabilities-uncovered-by-claroty-jfrog","hostname":"claroty.com","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00012.html","label":"lists.debian.org/debian-lts-announce/2025/01/msg00012.html","hostname":"lists.debian.org","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-42381","label":"security.alpinelinux.org/vuln/CVE-2021-42381","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-42381","label":"ubuntu.com/security/CVE-2021-42381","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5179-1","label":"ubuntu.com/security/notices/USN-5179-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42381","label":"www.cve.org/CVERecord?id=CVE-2021-42381","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-42381","label":"security-tracker.debian.org/tracker/CVE-2021-42381","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42381","label":"nvd.nist.gov/vuln/detail/CVE-2021-42381","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4019-1","MGASA-2021-0533","OPENSUSE-SU-2022:0135-1","OPENSUSE-SU-2024:11738-1","SUSE-SU-2022:0135-1","SUSE-SU-2022:0135-2","SUSE-SU-2022:3959-1","SUSE-SU-2022:4253-1","USN-5179-1"],"duplicates":[],"related":["OPENSUSE-SU-2022:0135-1","OPENSUSE-SU-2024:11738-1","SUSE-SU-2022:0135-1","SUSE-SU-2022:0135-2","SUSE-SU-2022:3959-1","SUSE-SU-2022:4253-1","USN-5179-1"]},"timeline":[{"kind":"published","date":"2021-11-15T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T20:34:09.730Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T08:23:30.157Z","stale":false,"partial":false}}