CVE-2021-20038 in Sonicwall Sma 200 and 9 more products
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.
Affects 10 products from 1 vendor. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sonicwall | Sma 200 (device and firmware) | 10.2.0.8-37sv 10.2.1.1-19sv 10.2.1.2-24sv |
| Sonicwall | Sma 210 (device and firmware) | 10.2.0.8-37sv 10.2.1.1-19sv 10.2.1.2-24sv |
| Sonicwall | Sma 400 (device and firmware) | 10.2.0.8-37sv 10.2.1.1-19sv 10.2.1.2-24sv |
| Sonicwall | Sma 410 (device and firmware) | 10.2.0.8-37sv 10.2.1.1-19sv 10.2.1.2-24sv |
| Sonicwall | Sma 500V (device and firmware) | 10.2.0.8-37sv 10.2.1.1-19sv 10.2.1.2-24sv |
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-01-28 |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2021-20038 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-245815-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-12-08 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation and length checks on all CGI parameters to prevent buffer overflow conditions. Deploy web application firewalls (WAF) to monitor and block suspicious requests targeting the mod_cgi module.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.