Skip to content
Server Security Center
KEVcritical9.8 Used in ransomware campaigns

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

SonicWall SMA 100 Appliances · listed in the CISA catalog of actively exploited vulnerabilities since 2022-01-28.

CVSS v3.1 (CISA ADP)
9.8
critical
EPSS (exploit probability, 30 days)
99.9%
among the highest 0.1% of all CVEs
Added to CISA KEV
2022-01-28
US federal due date 2022-02-11
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2021-20038 explained

CVE-2021-20038 is a stack-based buffer overflow in the Apache httpd server's mod_cgi module environment variable handling on SonicWall SMA 100 appliances. A remote unauthenticated attacker could potentially execute code as the 'nobody' user. CISA lists it as known exploited, including in ransomware campaigns, so affected appliances need urgent attention.

Impact

An attacker needs only network access to the appliance. No credentials and no user interaction are required. Successful exploitation can lead to code execution as the 'nobody' user, with high impact on confidentiality, integrity and availability. CISA rates it as automatable with total technical impact, meaning attackers can exploit it at scale and gain full control of the affected component. Attackers are known to exploit it, including for ransomware.

Who is affected

The record covers SonicWall SMA100 firmware 10.2.0.8-37sv and earlier, 10.2.1.1-19sv and earlier, and 10.2.1.2-24sv and earlier. The description names the SMA 200, 210, 400, 410 and 500v appliances. Versions are given in free text. The CVE record names no fixed version. Check the SonicWall advisory for the firmware release that contains the fix.

Written with AI from the data on this page and checked against it automatically.

Official 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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • SonicWall SMA100
    Affected
    • 10.2.0.8-37sv and earlier
    • 10.2.1.1-19sv and earlier
    • 10.2.1.2-24sv and earlier
    Fixed in
    not stated

    Version statement as published by the CNA (free text).

How to fix it

  • The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
  • Vendor advisory: psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
  • CISA's deadline for US federal agencies: 2022-02-11 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Identify all SMA 200, 210, 400, 410 and 500v appliances and record their firmware versions.
  2. Apply the firmware update named in the SonicWall advisory, as CISA's required action instructs.
  3. Restrict network access to the appliance's web interfaces where possible, and keep management interfaces off the internet.
  4. Check appliances for signs of compromise, as this flaw is known to be exploited, including in ransomware attacks.
  5. Treat any appliance that cannot be updated as high risk and limit its exposure until patched.

The CVE record names no fixed firmware version. Follow the SonicWall advisory to find the corrected release and apply it, as CISA's required action says to apply updates per vendor instructions. Until updated, limit network exposure of the appliance and check it for signs of compromise.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-121 Stack-based Buffer Overflow

Questions about CVE-2021-20038

Is CVE-2021-20038 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-01-28 and notes known use in ransomware campaigns. The US federal due date was 2022-02-11.
Does an attacker need credentials?
No. The flaw can be exploited remotely without authentication or user interaction, which potentially allows code execution as the 'nobody' user on the appliance.
Which firmware version fixes it?
The CVE record does not name a fixed version. Consult the SonicWall advisory for the firmware release that resolves the issue and apply it.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.