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.
CVE-2021-20038
Score elevated to 9.8 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2022-01-28), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
- Actively exploited in the wild (CISA-KEV)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 99(Act)EG Risk 99/100SSVC: Act
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation100% × 40%Automatability100% × 15%Action: Fix now — active exploitation, automatable, high impact. - EPSS
- 100.0%
- KEV
- ⚠ Exploited
Published
December 8, 2021
Last Modified
October 31, 2025
Advisory Details (4)
Auto-updated Jun 1, 2026Known Exploited Vulnerabilities Catalog | CISA
Known Exploited Vulnerabilities Catalog | CISA. Listed in CISA Known Exploited Vulnerabilities catalog.
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038CVE-2021-20038..42: SonicWall SMA 100 Multiple Vulnerabilities (FIXED) | Rapid7 Blog
https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/GitHub - jbaines-r7/badblood: SonicWall SMA-100 Unauth RCE Exploit (CVE-2021-20038) · GitHub
https://github.com/jbaines-r7/badbloodWeakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 40× in last 7d / 186× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 346 total refreshes for this CVE.
- 2026-07-23 01:56 UTCEG score recompute
- 2026-07-22 21:42 UTCEG score recompute
- 2026-07-22 21:42 UTCGHSA enrichment
- 2026-07-22 19:40 UTCCISA KEV update
- 2026-07-22 17:32 UTCGHSA enrichment
- 2026-07-22 13:28 UTCGHSA enrichment
- 2026-07-22 09:24 UTCGHSA enrichment
- 2026-07-22 05:20 UTCGHSA enrichment
- 2026-07-22 01:16 UTCGHSA enrichment
- 2026-07-21 21:12 UTCGHSA enrichment
- 2026-07-21 17:05 UTCGHSA enrichment
- 2026-07-21 14:37 UTCCISA KEV update
- 2026-07-21 13:01 UTCGHSA enrichment
- 2026-07-21 08:58 UTCGHSA enrichment
- 2026-07-21 04:54 UTCGHSA enrichment
- 2026-07-21 00:49 UTCGHSA enrichment
- 2026-07-20 20:45 UTCGHSA enrichment
- 2026-07-20 16:41 UTCGHSA enrichment
- 2026-07-20 12:37 UTCGHSA enrichment
- 2026-07-20 08:33 UTCGHSA enrichment
- 2026-07-20 04:30 UTCGHSA enrichment
- 2026-07-19 20:20 UTCGHSA enrichment
- 2026-07-19 16:14 UTCGHSA enrichment
- 2026-07-19 12:00 UTCGHSA enrichment
- 2026-07-19 07:57 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-07-19 03:52 UTCGHSA enrichment
- 2026-07-18 23:48 UTCGHSA enrichment
- 2026-07-18 19:44 UTCGHSA enrichment
- 2026-07-18 15:40 UTCGHSA enrichment
- 2026-07-18 11:36 UTCGHSA enrichment
- 2026-07-18 07:30 UTCGHSA enrichment
- 2026-07-18 03:26 UTCGHSA enrichment
- 2026-07-17 23:22 UTCGHSA enrichment
- 2026-07-17 19:18 UTCGHSA enrichment
- 2026-07-17 15:14 UTCGHSA enrichment
- 2026-07-17 11:10 UTCGHSA enrichment
- 2026-07-17 07:06 UTCEG score recompute
- 2026-07-17 07:06 UTCGHSA enrichment
- 2026-07-17 03:02 UTCGHSA enrichment
- 2026-07-16 22:56 UTCGHSA enrichment
- 2026-07-16 18:52 UTCGHSA enrichment
- 2026-07-16 17:04 UTCCISA KEV update
- 2026-07-16 14:47 UTCGHSA enrichment
- 2026-07-16 10:43 UTCGHSA enrichment
- 2026-07-16 06:39 UTCGHSA enrichment
- 2026-07-16 02:35 UTCGHSA enrichment
- 2026-07-15 22:31 UTCGHSA enrichment
- 2026-07-15 18:27 UTCGHSA enrichment
- 2026-07-15 16:49 UTCCISA KEV update
- 2026-07-15 15:04 UTCCISA KEV update
- 2026-07-15 14:22 UTCGHSA enrichment
- 2026-07-15 10:17 UTCGHSA enrichment
- 2026-07-15 06:12 UTCGHSA enrichment
- 2026-07-15 02:09 UTCGHSA enrichment
- 2026-07-14 22:03 UTCGHSA enrichment
- 2026-07-14 18:05 UTCCISA KEV update
- 2026-07-14 17:58 UTCGHSA enrichment
- 2026-07-14 13:53 UTCGHSA enrichment
- 2026-07-14 09:49 UTCGHSA enrichment
- 2026-07-14 05:44 UTCGHSA enrichment
- 2026-07-14 01:40 UTCGHSA enrichment
- 2026-07-13 21:36 UTCGHSA enrichment
- 2026-07-13 17:32 UTCGHSA enrichment
- 2026-07-13 17:07 UTCCISA KEV update
- 2026-07-13 13:28 UTCGHSA enrichment
- 2026-07-13 09:24 UTCGHSA enrichment
- 2026-07-13 05:20 UTCGHSA enrichment
- 2026-07-13 01:16 UTCGHSA enrichment
- 2026-07-12 21:11 UTCGHSA enrichment
- 2026-07-12 17:05 UTCGHSA enrichment
- 2026-07-12 13:01 UTCGHSA enrichment
- 2026-07-12 08:57 UTCGHSA enrichment
- 2026-07-12 04:53 UTCGHSA enrichment
- 2026-07-12 00:49 UTCGHSA enrichment
- 2026-07-11 20:45 UTCGHSA enrichment
- 2026-07-11 16:41 UTCGHSA enrichment
- 2026-07-11 12:37 UTCGHSA enrichment
- 2026-07-11 08:33 UTCGHSA enrichment
- 2026-07-11 04:29 UTCGHSA enrichment
- 2026-07-11 00:25 UTCGHSA enrichment
- 2026-07-10 20:21 UTCGHSA enrichment
- 2026-07-10 17:52 UTCCISA KEV update
- 2026-07-10 16:17 UTCGHSA enrichment
- 2026-07-10 12:13 UTCGHSA enrichment
- 2026-07-10 08:09 UTCGHSA enrichment
- 2026-07-10 04:04 UTCGHSA enrichment
- 2026-07-10 00:00 UTCGHSA enrichment
- 2026-07-09 19:56 UTCGHSA enrichment
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-09 15:52 UTCGHSA enrichment
- 2026-07-09 11:47 UTCGHSA enrichment
- 2026-07-09 07:42 UTCGHSA enrichment
- 2026-07-09 03:38 UTCGHSA enrichment
- 2026-07-08 23:34 UTCGHSA enrichment
- 2026-07-08 19:30 UTCGHSA enrichment
- 2026-07-08 15:25 UTCGHSA enrichment
- 2026-07-08 11:20 UTCGHSA enrichment
- 2026-07-08 07:16 UTCGHSA enrichment
- 2026-07-08 03:12 UTCGHSA enrichment
- 2026-07-07 23:08 UTCGHSA enrichment
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2021/CVE-2021-20038.yamlFirst seen Jan 1, 2021
SonicWall SMA100 Stack - Buffer Overflow/Remote Code Execution
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-121 · CWE-787
Frequently asked(6)
What is CVE-2021-20038?
When was CVE-2021-20038 disclosed?
Is CVE-2021-20038 actively exploited?
What is the CVSS score of CVE-2021-20038?
Which products are affected by CVE-2021-20038?
How do I remediate CVE-2021-20038?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2021-20038
Is Your Infrastructure Affected by CVE-2021-20038?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.