CVEvulnerability
CVE-2021-20038
CISA Known Exploited Vulnerability
SonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability — SonicWall SMA 100 Appliances
SonicWall SMA 100 devies are vulnerable to an unauthenticated stack-based buffer overflow vulnerability where exploitation can result in code execution.
- Added to KEV
- 2022-01-28
- Remediation due
- 2022-02-11
- Ransomware use
- Known
- Required action
- Apply updates per vendor instructions.
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2021-20038
- Status
- Analyzed
- Published
- 2021-12-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-121, CWE-787
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.
Affected configurations
• sonicwall sma 200 firmware 10.2.0.8-37sv
• sonicwall sma 200 firmware 10.2.1.1-19sv
• sonicwall sma 200 firmware 10.2.1.2-24sv
• sonicwall sma 210 firmware 10.2.0.8-37sv
• sonicwall sma 210 firmware 10.2.1.1-19sv
• sonicwall sma 210 firmware 10.2.1.2-24sv
• sonicwall sma 410 firmware 10.2.0.8-37sv
• sonicwall sma 410 firmware 10.2.1.1-19sv
• sonicwall sma 410 firmware 10.2.1.2-24sv
• sonicwall sma 400 firmware 10.2.0.8-37sv
• sonicwall sma 400 firmware 10.2.1.1-19sv
• sonicwall sma 400 firmware 10.2.1.2-24sv
• sonicwall sma 500v firmware 10.2.0.8-37sv
• sonicwall sma 500v firmware 10.2.1.1-19sv
• sonicwall sma 500v firmware 10.2.1.2-24sv
Related
References
- https://github.com/jbaines-r7/badblood Exploit, Third Party Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026 Vendor Advisory
- https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/ Exploit, Third Party Advisory
- https://github.com/jbaines-r7/badblood Exploit, Third Party Advisory
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026 Vendor Advisory
- https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/ Exploit, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038 US Government Resource