{"id":"CVE-2021-20038","state":"PUBLISHED","title":"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 cod","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.","publishedAt":"2021-12-08T09:55:20.000Z","updatedAt":"2025-10-21T23:25:23.415Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"sonicwall","products":["SonicWall SonicWall SMA100"],"affected":[{"vendor":"SonicWall","product":"SonicWall SMA100","versions":[{"version":"10.2.0.8-37sv and earlier","status":"affected"},{"version":"10.2.1.1-19sv and earlier","status":"affected"},{"version":"10.2.1.2-24sv and earlier","status":"affected"}]}],"references":["https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026","https://github.com/jbaines-r7/badblood","https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T19:47:55.610Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/20xxx/CVE-2021-20038.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-20038","state":"PUBLISHED","datePublished":"2021-12-08T09:55:20.000Z","dateUpdated":"2025-10-21T23:25:23.415Z","assignerShortName":"sonicwall","assignerOrgId":"44b2ff79-1416-4492-88bb-ed0da00c7315","dateReserved":"2020-12-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"SonicWall","product":"SonicWall SMA100","versions":[{"version":"10.2.0.8-37sv and earlier","status":"affected"},{"version":"10.2.1.1-19sv and earlier","status":"affected"},{"version":"10.2.1.2-24sv and earlier","status":"affected"}]}],"references":[{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jbaines-r7/badblood","tags":["x_refsource_MISC"]},{"url":"https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","description":"CWE-121: Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"sonicwall","dateUpdated":"2022-04-29T11:48:42.000Z","orgId":"44b2ff79-1416-4492-88bb-ed0da00c7315"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"PSIRT@sonicwall.com","ID":"CVE-2021-20038","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"SonicWall SMA100","version":{"version_data":[{"version_value":"10.2.0.8-37sv and earlier"},{"version_value":"10.2.1.1-19sv and earlier"},{"version_value":"10.2.1.2-24sv and earlier"}]}}]},"vendor_name":"SonicWall"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-121: Stack-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026","refsource":"CONFIRM","url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026"},{"name":"https://github.com/jbaines-r7/badblood","refsource":"MISC","url":"https://github.com/jbaines-r7/badblood"},{"name":"https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/","refsource":"MISC","url":"https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/jbaines-r7/badblood","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:30:07.356Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038","tags":["government-resource"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2021-20038","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-02-04T14:26:58.722403Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2022-01-28","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:25:23.415Z"},"timeline":[{"time":"2022-01-28T00:00:00.000Z","lang":"en","value":"CVE-2021-20038 added to CISA KEV"}]}]}}}