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 PROB
- 100%
- EPSS %ILE
- 100%
- KEV
- ⚠ Exploited
Published
December 8, 2021
Last Modified
October 31, 2025
Advisory Details (4)
Auto-updated Sep 17, 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 48× in last 7d / 197× 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 722 total refreshes for this CVE.
- 2026-09-19 18:47 UTCGHSA enrichment
- 2026-09-19 14:43 UTCGHSA enrichment
- 2026-09-19 10:39 UTCGHSA enrichment
- 2026-09-19 06:33 UTCGHSA enrichment
- 2026-09-19 02:28 UTCGHSA enrichment
- 2026-09-18 22:23 UTCGHSA enrichment
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 18:20 UTCGHSA enrichment
- 2026-09-18 14:16 UTCGHSA enrichment
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-18 10:12 UTCGHSA enrichment
- 2026-09-18 06:08 UTCGHSA enrichment
- 2026-09-18 02:04 UTCGHSA enrichment
- 2026-09-17 22:00 UTCGHSA enrichment
- 2026-09-17 17:56 UTCGHSA enrichment
- 2026-09-17 13:51 UTCGHSA enrichment
- 2026-09-17 09:46 UTCGHSA enrichment
- 2026-09-17 05:41 UTCGHSA enrichment
- 2026-09-17 01:36 UTCGHSA enrichment
- 2026-09-16 21:32 UTCGHSA enrichment
- 2026-09-16 17:28 UTCEG score recompute
- 2026-09-16 17:27 UTCGHSA enrichment
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-16 13:20 UTCGHSA enrichment
- 2026-09-16 09:15 UTCGHSA enrichment
- 2026-09-16 05:11 UTCGHSA enrichment
- 2026-09-16 01:07 UTCGHSA enrichment
- 2026-09-15 21:03 UTCGHSA enrichment
- 2026-09-15 16:59 UTCGHSA enrichment
- 2026-09-15 12:55 UTCGHSA enrichment
- 2026-09-15 08:51 UTCGHSA enrichment
- 2026-09-15 04:47 UTCGHSA enrichment
- 2026-09-15 00:40 UTCGHSA enrichment
- 2026-09-14 20:36 UTCGHSA enrichment
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-14 16:32 UTCGHSA enrichment
- 2026-09-14 12:28 UTCGHSA enrichment
- 2026-09-14 08:24 UTCGHSA enrichment
- 2026-09-14 04:21 UTCGHSA enrichment
- 2026-09-14 00:17 UTCGHSA enrichment
- 2026-09-13 20:14 UTCGHSA enrichment
- 2026-09-13 16:10 UTCGHSA enrichment
- 2026-09-13 12:06 UTCGHSA enrichment
- 2026-09-13 08:02 UTCGHSA enrichment
- 2026-09-13 03:58 UTCGHSA enrichment
- 2026-09-12 23:55 UTCGHSA enrichment
- 2026-09-12 19:51 UTCGHSA enrichment
- 2026-09-12 15:47 UTCGHSA enrichment
- 2026-09-12 11:42 UTCGHSA enrichment
- 2026-09-12 07:37 UTCGHSA enrichment
- 2026-09-12 03:33 UTCGHSA enrichment
- 2026-09-11 23:29 UTCGHSA enrichment
- 2026-09-11 19:25 UTCGHSA enrichment
- 2026-09-11 18:49 UTCCISA KEV update
- 2026-09-11 15:21 UTCGHSA enrichment
- 2026-09-11 11:16 UTCGHSA enrichment
- 2026-09-11 07:11 UTCGHSA enrichment
- 2026-09-11 03:07 UTCGHSA enrichment
- 2026-09-10 23:03 UTCGHSA enrichment
- 2026-09-10 19:28 UTCCISA KEV update
- 2026-09-10 18:59 UTCGHSA enrichment
- 2026-09-10 14:55 UTCGHSA enrichment
- 2026-09-10 10:51 UTCGHSA enrichment
- 2026-09-10 06:45 UTCGHSA enrichment
- 2026-09-10 02:41 UTCGHSA enrichment
- 2026-09-09 22:37 UTCGHSA enrichment
- 2026-09-09 19:08 UTCCISA KEV update
- 2026-09-09 18:33 UTCGHSA enrichment
- 2026-09-09 14:29 UTCGHSA enrichment
- 2026-09-09 10:25 UTCGHSA enrichment
- 2026-09-09 06:21 UTCGHSA enrichment
- 2026-09-09 02:17 UTCGHSA enrichment
- 2026-09-08 22:12 UTCGHSA enrichment
- 2026-09-08 18:54 UTCCISA KEV update
- 2026-09-08 18:08 UTCGHSA enrichment
- 2026-09-08 13:22 UTCGHSA enrichment
- 2026-09-08 09:17 UTCGHSA enrichment
- 2026-09-08 05:11 UTCGHSA enrichment
- 2026-09-08 01:03 UTCGHSA enrichment
- 2026-09-07 21:00 UTCGHSA enrichment
- 2026-09-07 16:56 UTCGHSA enrichment
- 2026-09-07 12:51 UTCGHSA enrichment
- 2026-09-07 08:43 UTCGHSA enrichment
- 2026-09-07 04:39 UTCGHSA enrichment
- 2026-09-07 00:36 UTCGHSA enrichment
- 2026-09-06 20:32 UTCGHSA enrichment
- 2026-09-06 16:28 UTCGHSA enrichment
- 2026-09-06 12:22 UTCGHSA enrichment
- 2026-09-06 08:17 UTCGHSA enrichment
- 2026-09-06 04:11 UTCGHSA enrichment
- 2026-09-06 00:08 UTCGHSA enrichment
- 2026-09-05 20:03 UTCGHSA enrichment
- 2026-09-05 15:59 UTCGHSA enrichment
- 2026-09-05 11:54 UTCGHSA enrichment
- 2026-09-05 07:48 UTCGHSA enrichment
- 2026-09-05 03:44 UTCGHSA enrichment
- 2026-09-04 23:40 UTCGHSA enrichment
- 2026-09-04 19:35 UTCGHSA enrichment
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCjbaines-r7/badbloodFirst seen Jan 11, 2022
SonicWall SMA-100 Unauth RCE Exploit (CVE-2021-20038)
Open source ↗ - 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-787 · CWE-121
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.