CVE-2021-20038

SonicWall SMA 100 Appliances Stack-Based Buffer Overflow Vulnerability

Actively exploited · CISA KEV Ransomware use: known
9.8 CriticalCVSS v3.1
99.9%EPSS (30-day exploit probability)
2022-01-28added to KEV
2022-02-11CISA federal due date

Summary

SonicWall SMA 100 Appliances. SonicWall SMA 100 devies are vulnerable to an unauthenticated stack-based buffer overflow vulnerability where exploitation can result in code execution.

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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-121, CWE-787
Published
2021-12-08 (last modified 2026-06-17)

What to do

Apply updates per vendor instructions.

  1. Find every instance of SonicWall SMA 100 Appliances in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2021-20038 being exploited?

Yes. CISA added CVE-2021-20038 to its Known Exploited Vulnerabilities catalog on 2022-01-28, which means there is reliable evidence of active exploitation. It is also known to be used in ransomware campaigns.

How do I fix CVE-2021-20038?

CISA required action: Apply updates per vendor instructions.

What is the EPSS score for CVE-2021-20038?

The EPSS score is 99.91%, meaning an estimated 99.91% probability of exploitation activity in the next 30 days (percentile 100).

Other exploited SonicWall vulnerabilities

CVE-2026-19868SonicWall SonicOS SSLVPN Use of Single-factor Authentication Vulnerability2026-11-06
CVE-2026-83549SonicWall SMA1000 Appliances OS Command Injection Vulnerability2026-09-02
CVE-2026-83548SonicWall SMA1000 Appliances Server-Side Request Forgery Vulnerability2026-09-02
CVE-2026-15410SonicWall SMA1000 Appliances Code Injection Vulnerability2026-07-14
CVE-2026-15409SonicWall SMA1000 Appliances Server-Side Request Forgery Vulnerability2026-07-14
CVE-2025-40602SonicWall SMA1000 Missing Authorization Vulnerability2025-12-17
CVE-2023-44221SonicWall SMA100 Appliances OS Command Injection Vulnerability2025-05-01
CVE-2021-20035SonicWall SMA100 Appliances OS Command Injection Vulnerability2025-04-16

All SonicWall exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.