Vulnerability · CVE-2021-20038
SonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability
Published Dec 8, 2021 · catalog updated Jun 16, 2026 · SonicWall SMA 100 Appliances
Patch now
CVE-2021-20038 is in the CISA known-exploited catalog, due Feb 11, 2022. Confirm SonicWall SMA 100 Appliances against the vendor advisory and apply that fix. The CVSS score does not change the priority.
- Severity
- Critical9.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 99.91%
- Remediation
- Remediation guidance
- Affected products
- cpe sonicwall/sma 200 firmware · cpe sonicwall/sma 210 firmware · cpe sonicwall/sma 400 firmware · cpe sonicwall/sma 410 firmware · cpe sonicwall/sma 500v firmware · vendor SonicWall SMA 100 Appliances
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe sonicwall/sma 200 firmware10.2.0.8-37sv
- cpe sonicwall/sma 200 firmware10.2.1.1-19sv
- cpe sonicwall/sma 200 firmware10.2.1.2-24sv
- cpe sonicwall/sma 210 firmware10.2.0.8-37sv
- cpe sonicwall/sma 210 firmware10.2.1.1-19sv
- cpe sonicwall/sma 210 firmware10.2.1.2-24sv
- cpe sonicwall/sma 400 firmware10.2.0.8-37sv
- cpe sonicwall/sma 410 firmware10.2.0.8-37sv
- cpe sonicwall/sma 410 firmware10.2.1.1-19sv
- cpe sonicwall/sma 500v firmware10.2.0.8-37sv
- vendor SonicWall SMA 100 Appliancesversion unspecified
How to fix CVE-2021-20038
Recommended remediation
Apply updates per vendor instructions. CISA due date Feb 11, 2022.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2021-20038 is in the CISA known-exploited catalog, due Feb 11, 2022. Confirm SonicWall SMA 100 Appliances against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with 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. Apply updates per vendor instructions.
What should an analyst verify?
CWE-121: Stack-based Buffer Overflow; CWE-787: Out-of-bounds Write. EPSS 99.91%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Dec 8, 2021 · Catalog
Detected
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.
Jan 28, 2022 · CISA KEV
Known exploited
Apply updates per vendor instructions.
Feb 11, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Jun 16, 2026 · Catalog
Updated
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.
Sources
- CISA KEVConfirmed exploitationCVE-2021-20038
SonicWall SMA 100 devies are vulnerable to an unauthenticated stack-based buffer overflow vulnerability where exploitation can result in code execution.
cisa.gov - CVE.orgVulnerability recordCVE-2021-20038
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2021-20038
30-day exploitation probability 99.9%
first.org - Metasploit ModulesPublic exploit moduleexploit_linux/http/sonicwall_cve_2021_20039
Public module reference (excellent). Module source is not copied into this catalog.
rapid7.com - NIST NVDVulnerability recordCVE-2021-20038
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 a
nvd.nist.gov - VulnCheck KEVConfirmed exploitationCVE-2021-20038
SonicWall SMA 100 devies are vulnerable to an unauthenticated stack-based buffer overflow vulnerability where exploitation can result in code execution.
vulncheck.com
References
- VulnCheck exploitation evidence · 4502402.fs1.hubspotusercontent-na1.net
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- Exploit · github.com
- CISA note · nvd.nist.gov
- Vendor Advisory · psirt.global.sonicwall.com
- US Government Resource · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- Exploit · rapid7.com
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.