CVE-2021-20038

CRITICALNVD 9.89.8
EchelonGraph scoreHIGH confidence

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.

Triggered by: CISA KEV (actively exploited)
Sources: cisa_kev, epss, ghsa, nvd
Exploited in the wild
9.8EG
EchelonGraph verdictPatch nowTreat as an emergency — this is being exploited.
  • Actively exploited in the wild (CISA-KEV)
CISA-KEV: ExploitedEPSS PROB: 100%CVSS: 9.8Exploit: cisa kev · ssvc active · kev ransomware · epss top5pct · epss high · public exploitExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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 computed
Severity98% × 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 3, 2026
⚠️ Active exploitation confirmed. Patch available. Sources: cisa.
cisa Patch Available🔴 Active Exploitation

Known 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-20038
generic🔴 Active Exploitation

CVE-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/
generic

GitHub - jbaines-r7/badblood: SonicWall SMA-100 Unauth RCE Exploit (CVE-2021-20038) · GitHub

https://github.com/jbaines-r7/badblood

Weakness Classification(2)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 43× in last 7d / 195× 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 644 total refreshes for this CVE.

  1. 2026-09-08 09:17 UTCGHSA enrichment
  2. 2026-09-08 05:11 UTCGHSA enrichment
  3. 2026-09-08 01:03 UTCGHSA enrichment
  4. 2026-09-07 21:00 UTCGHSA enrichment
  5. 2026-09-07 16:56 UTCGHSA enrichment
  6. 2026-09-07 12:51 UTCGHSA enrichment
  7. 2026-09-07 08:43 UTCGHSA enrichment
  8. 2026-09-07 04:39 UTCGHSA enrichment
  9. 2026-09-07 00:36 UTCGHSA enrichment
  10. 2026-09-06 20:32 UTCGHSA enrichment
  11. 2026-09-06 16:28 UTCGHSA enrichment
  12. 2026-09-06 12:22 UTCGHSA enrichment
  13. 2026-09-06 08:17 UTCGHSA enrichment
  14. 2026-09-06 04:11 UTCGHSA enrichment
  15. 2026-09-06 00:08 UTCGHSA enrichment
  16. 2026-09-05 20:03 UTCGHSA enrichment
  17. 2026-09-05 15:59 UTCGHSA enrichment
  18. 2026-09-05 11:54 UTCGHSA enrichment
  19. 2026-09-05 07:48 UTCGHSA enrichment
  20. 2026-09-05 03:44 UTCGHSA enrichment
  21. 2026-09-04 23:40 UTCGHSA enrichment
  22. 2026-09-04 19:35 UTCGHSA enrichment
  23. 2026-09-04 17:38 UTCCISA KEV update
  24. 2026-09-04 15:31 UTCGHSA enrichment
  25. 2026-09-04 11:25 UTCGHSA enrichment
Show 75 more
  1. 2026-09-04 07:20 UTCGHSA enrichment
  2. 2026-09-04 03:17 UTCGHSA enrichment
  3. 2026-09-03 23:10 UTCGHSA enrichment
  4. 2026-09-03 19:04 UTCGHSA enrichment
  5. 2026-09-03 14:59 UTCGHSA enrichment
  6. 2026-09-03 10:53 UTCGHSA enrichment
  7. 2026-09-03 06:46 UTCGHSA enrichment
  8. 2026-09-03 02:42 UTCGHSA enrichment
  9. 2026-09-02 22:38 UTCGHSA enrichment
  10. 2026-09-02 18:32 UTCGHSA enrichment
  11. 2026-09-02 17:33 UTCCISA KEV update
  12. 2026-09-02 14:26 UTCGHSA enrichment
  13. 2026-09-02 10:21 UTCGHSA enrichment
  14. 2026-09-02 06:16 UTCGHSA enrichment
  15. 2026-09-02 02:11 UTCGHSA enrichment
  16. 2026-09-01 22:06 UTCGHSA enrichment
  17. 2026-09-01 18:00 UTCGHSA enrichment
  18. 2026-09-01 13:54 UTCGHSA enrichment
  19. 2026-09-01 09:50 UTCGHSA enrichment
  20. 2026-09-01 05:44 UTCGHSA enrichment
  21. 2026-09-01 01:39 UTCGHSA enrichment
  22. 2026-08-31 21:33 UTCGHSA enrichment
  23. 2026-08-31 17:28 UTCGHSA enrichment
  24. 2026-08-31 14:19 UTCCISA KEV update
  25. 2026-08-31 13:23 UTCGHSA enrichment
  26. 2026-08-31 09:17 UTCGHSA enrichment
  27. 2026-08-31 05:13 UTCGHSA enrichment
  28. 2026-08-31 01:09 UTCGHSA enrichment
  29. 2026-08-30 21:05 UTCGHSA enrichment
  30. 2026-08-30 17:01 UTCGHSA enrichment
  31. 2026-08-30 12:57 UTCGHSA enrichment
  32. 2026-08-30 08:52 UTCGHSA enrichment
  33. 2026-08-30 04:48 UTCGHSA enrichment
  34. 2026-08-30 00:44 UTCGHSA enrichment
  35. 2026-08-29 20:40 UTCGHSA enrichment
  36. 2026-08-29 16:35 UTCGHSA enrichment
  37. 2026-08-29 12:28 UTCGHSA enrichment
  38. 2026-08-29 08:22 UTCGHSA enrichment
  39. 2026-08-29 04:19 UTCGHSA enrichment
  40. 2026-08-29 00:14 UTCGHSA enrichment
  41. 2026-08-28 20:10 UTCGHSA enrichment
  42. 2026-08-28 16:04 UTCGHSA enrichment
  43. 2026-08-28 12:00 UTCGHSA enrichment
  44. 2026-08-28 07:55 UTCGHSA enrichment
  45. 2026-08-28 03:50 UTCGHSA enrichment
  46. 2026-08-27 23:46 UTCGHSA enrichment
  47. 2026-08-27 19:42 UTCGHSA enrichment
  48. 2026-08-27 17:22 UTCCISA KEV update
  49. 2026-08-27 15:38 UTCGHSA enrichment
  50. 2026-08-27 11:32 UTCGHSA enrichment
  51. 2026-08-27 07:28 UTCGHSA enrichment
  52. 2026-08-27 03:23 UTCGHSA enrichment
  53. 2026-08-26 23:19 UTCGHSA enrichment
  54. 2026-08-26 19:14 UTCGHSA enrichment
  55. 2026-08-26 17:41 UTCCISA KEV update
  56. 2026-08-26 15:11 UTCGHSA enrichment
  57. 2026-08-26 11:06 UTCGHSA enrichment
  58. 2026-08-26 07:01 UTCGHSA enrichment
  59. 2026-08-26 02:57 UTCGHSA enrichment
  60. 2026-08-25 22:53 UTCGHSA enrichment
  61. 2026-08-25 18:49 UTCGHSA enrichment
  62. 2026-08-25 14:45 UTCGHSA enrichment
  63. 2026-08-25 10:41 UTCGHSA enrichment
  64. 2026-08-25 06:37 UTCGHSA enrichment
  65. 2026-08-25 02:33 UTCGHSA enrichment
  66. 2026-08-24 22:28 UTCGHSA enrichment
  67. 2026-08-24 18:52 UTCCISA KEV update
  68. 2026-08-24 18:24 UTCGHSA enrichment
  69. 2026-08-24 14:20 UTCEG score recompute
  70. 2026-08-24 14:20 UTCGHSA enrichment
  71. 2026-08-24 10:17 UTCGHSA enrichment
  72. 2026-08-24 06:13 UTCGHSA enrichment
  73. 2026-08-24 02:09 UTCGHSA enrichment
  74. 2026-08-23 22:04 UTCGHSA enrichment
  75. 2026-08-23 17:58 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/badblood
    First seen Jan 11, 2022

    SonicWall SMA-100 Unauth RCE Exploit (CVE-2021-20038)

    Open source ↗
  • Nucleihttp/cves/2021/CVE-2021-20038.yaml
    First seen Jan 1, 2021

    SonicWall SMA100 Stack - Buffer Overflow/Remote Code Execution

    Open source ↗

Frequently asked(6)

What is CVE-2021-20038?
CVE-2021-20038 is a critical vulnerability published on December 8, 2021. 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…
When was CVE-2021-20038 disclosed?
CVE-2021-20038 was first published in the National Vulnerability Database on December 8, 2021, with the most recent update on October 31, 2025. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2021-20038 actively exploited?
Yes. CISA added CVE-2021-20038 to the Known Exploited Vulnerabilities catalog on January 28, 2022, affecting SonicWall SMA 100 Appliances. KEV listing indicates confirmed exploitation in the wild; this CVE warrants immediate patching attention.
What is the CVSS score of CVE-2021-20038?
CVE-2021-20038 has a CVSS v3 base score of 9.8 (NVD).
Which products are affected by CVE-2021-20038?
CVE-2021-20038 affects SonicWall SMA 100 Appliances. The full affected-products list, including version ranges and fixed versions, is shown in the Affected Packages section of this page.
How do I remediate CVE-2021-20038?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2021-20038, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2021-20038

Explore →

Is Your Infrastructure Affected by CVE-2021-20038?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.