9.8

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

KEVRansomware
Analyzed
Published 08-12-2021Last modified 21-10-2025

Vulnerability summary

CVE-2021-20038 is a critical (CVSS 9.8) Stack-based Buffer Overflow vulnerability in SonicWall SMA 100 Appliances. It is known to be exploited: CISA lists it, first on 28-01-2022. It has been used in ransomware campaigns. EPSS estimates a 99.91% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Act nowransomware

Known ransomware use (CISA, 28-01-2022)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
99.91%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareKnown useFlagged by CISA
Public exploits2github, reference

Timeline

  1. 08-12-2021
    PublishedVulnerability first disclosed.
  2. 28-01-2022
    Added to CISA KEVExploitedSonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability
  3. 11-02-2022
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 21-10-2025
    Last modifiedVulnerability information updated.

Description

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 metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

99.91%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 99.91% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
28-01-2022
Federal due date
11-02-2022
Ransomware
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-20038

Public exploits

2 found
  • githubUnverified

    Badblood

    Maturity: poc

  • referenceUnverified

    Exploit Reference (rapid7.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Sonicwall6 products

1 vendor · 6 products

References

4 links