CVE-2021-20038: SonicWall SMA100 Buffer Overflow

CVE-2021-20038

NVD

Vulnerability Summary

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.
Severity Level
UNKNOWN
Published Date
Dec 8, 2021
Last Modified
Oct 21, 2025
PoC
Available(Nuclei)
Exploitation Status
ACTIVE
Root Weakness (CWE)
The buffer being overwritten is allocated on the stack.

Affected & Patched Versions

Affected Versions
  • SonicWall SMA100 10.2.0.8-37sv and earlier
  • SonicWall SMA100 10.2.1.1-19sv and earlier
  • SonicWall SMA100 10.2.1.2-24sv and earlier
Patched Versions
No patched version published yet
Until a fix ships, reduce exposure:
  • Restrict access to the affected service or interface to trusted networks.
  • Disable the affected feature if you do not need it.
  • Watch the vendor advisory for a firmware or software update.

What to do

Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Feb 11, 2022.

  1. Check whether you run SonicWall SMA100 and which version.
  2. No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
  3. Subscribe to the vendor advisory so you learn when a fix ships.
  4. Review logs and exposed services for signs of earlier compromise.

CISA required action: Apply updates per vendor instructions.

CISA KEV Status

Listed in Known Exploited Vulnerabilities
Added: Jan 28, 2022
Remediation due: Feb 11, 2022 (deadline passed)
Known use in ransomware campaigns: Yes

Timeline

  • Dec 8, 2021Published
  • Jan 28, 2022Added to CISA KEV catalog
  • Feb 11, 2022KEV remediation due date
  • Oct 21, 2025Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new SonicWall CVEsYou are reading CVE-2021-20038. Get an email when KEV listings, exploits or new CVEs match your stack.
Notify me about SonicWall CVEs

All SonicWall vulnerabilities →

Data last checked: Nov 30, 2026 17:15 UTC