{"id":"CVE-2021-20038","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-20038","generatedAt":"2026-10-31T14:13:08.371Z","title":"SonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability","description":"A Stack-based buffer overflow vulnerability in SMA100 Apache httpd server's mod_cgi module environment variables allows a remote unauthenticated attacker to potentially execute code as a 'nobody' user in the appliance. This vulnerability affected SMA 200, 210, 400, 410 and 500v appliances firmware 10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24sv and earlier versions.","published":"2021-12-08T10:15:08.000Z","lastModified":"2026-06-17T03:33:11.000Z","status":"Analyzed","sourceIdentifier":"PSIRT@sonicwall.com","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-121","CWE-787"],"affected":["sonicwall/sma 200 firmware","sonicwall/sma 210 firmware","sonicwall/sma 410 firmware","sonicwall/sma 400 firmware","sonicwall/sma 500v firmware"],"epss":{"score":0.99912,"percentile":0.99967,"date":"2026-10-30","history":[]},"kev":{"listed":true,"dateAdded":"2022-01-28","dueDate":"2022-02-11","knownRansomwareCampaignUse":"Known","notes":"Apply updates per vendor instructions.\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-20038"},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 11 February 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[],"references":[{"url":"https://github.com/jbaines-r7/badblood","tags":["Exploit","Third Party Advisory"],"source":"PSIRT@sonicwall.com"},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026","tags":["Vendor Advisory"],"source":"PSIRT@sonicwall.com"},{"url":"https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/","tags":["Exploit","Third Party Advisory"],"source":"PSIRT@sonicwall.com"},{"url":"https://github.com/jbaines-r7/badblood","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20038","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}