Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-20038: SonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEMITIGATEMITIGATEMITIGATE

CVE-2021-20038 is a critical-severity flaw (CVSS 9.8) affecting sma 200 firmware, sma 210 firmware, sma 410 firmware, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Used in ransomware campaigns
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance99.9% (top 1%)
CISA exploited listYes, fix due 2022-02-11, used in ransomware
WeaknessCWE-121, CWE-787
Published2021-12-08
Last modified2026-06-17
Publisher (CNA): SonicWALL, Inc. · Vendor: sonicwall

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

sonicwall sma 200 firmware MITIGATE
Affected: 10.2.0.8-37sv · 10.2.1.1-19sv · 10.2.1.2-24sv
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.2.0.8-37sv
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 210 firmware MITIGATE
Affected: 10.2.0.8-37sv · 10.2.1.1-19sv · 10.2.1.2-24sv
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.2.0.8-37sv
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 410 firmware MITIGATE
Affected: 10.2.0.8-37sv · 10.2.1.1-19sv · 10.2.1.2-24sv
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.2.0.8-37sv
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 400 firmware MITIGATE
Affected: 10.2.0.8-37sv · 10.2.1.1-19sv · 10.2.1.2-24sv
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.2.0.8-37sv
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
sonicwall sma 500v firmware MITIGATE
Affected: 10.2.0.8-37sv · 10.2.1.1-19sv · 10.2.1.2-24sv
Fixed in: no fixed release known
Safe to downgrade to: a release before 10.2.0.8-37sv
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · vipr · FIXED · 1.1^20261024.99eec19-1.fc46 · FEDORA-2026-2c5f53d2f8 · source
sudo dnf upgrade --advisory=FEDORA-2026-2c5f53d2f8
Fedora ELN · composer · FIXED · 2.11.1-1.eln159 · FEDORA-2026-cb4f992456 · source
sudo dnf upgrade --advisory=FEDORA-2026-cb4f992456

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2021-20038?

sma 200 firmware: mitigate or apply the listed mitigation; sma 210 firmware: mitigate or apply the listed mitigation; sma 410 firmware: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2021-20038 being exploited?

Yes. CVE-2021-20038 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2021-20038 affect?

CVE-2021-20038 affects sma 200 firmware, sma 210 firmware, sma 410 firmware. Severity is critical (CVSS 9.8). 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 af

How urgent is CVE-2021-20038?

Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Apache HTTP Server vulnerabilities · SonicWall vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.