9.8

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

CVSS: 9.8v3.1CriticalKEVRansomwareAnalyzed
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.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
99.91%
0%100%
Critical · 0.00 pp in 30 days
KEVListedCISA
RansomwareKnown useFlagged by CISA
Public exploits2github, reference

Timeline

  1. 08-12-2021
    PublishedVulnerability first disclosed.
  2. 28-01-2022
    Added to CISA KEVSonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability
  3. 11-02-2022
    CISA remediation dueApply 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

0.00 pp

From 99.91% on 18-09-2026

18-09-202618-10-2026
EPSS score
99.91%

Known exploited

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

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

Sonicwall6 products

1 vendor · 6 products

References

4 links