Skip to content
On CISA KEVCritical

CVE-2021-20038Sma 200 Firmware Stack Buffer Overflow

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.

Published Dec 8, 2021 · Updated Oct 21, 2025 · Also known as TR-22-0006, TR-22-0087

Key Facts

Patch immediately
  • CVE-2021-20038 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Sma 200 Firmware (Sonicwall), Sma 210 Firmware (Sonicwall), Sma 400 Firmware (Sonicwall) and 3 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jan 28, 2022 and is known to be used in ransomware campaigns. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 100% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

100%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

98/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jan 28, 2022

51 days after publication

Federal due date

Feb 11, 2022

Overdue

Ransomware use

Known

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

2

Proof-of-concept links

In-the-wild evidence

13

Reports of active use

Required action (CISA): Apply updates per vendor instructions.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVJan 28, 2022Feb 11, 2022Known
Industry KEV feedJan 28, 2022Feb 11, 2022Known
CIRCL KEVJan 28, 2022Feb 11, 2022Known
ENISA EUVDJan 28, 2022n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

16 affected entries in total
ProductAffected versionsFixed in
Sma 200 FirmwareSonicwall10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24svn/a
Sma 210 FirmwareSonicwall10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24svn/a
Sma 400 FirmwareSonicwall10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24svn/a
Sma 410 FirmwareSonicwall10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24svn/a
Sma 500v FirmwareSonicwall10.2.0.8-37sv, 10.2.1.1-19sv, 10.2.1.2-24svn/a
1 more affected products in the full CVE brief

Timeline

  1. Publicly disclosed

    Dec 8, 2021

  2. Added to CISA KEV

    Jan 28, 2022

  3. Added to Industry KEV feed

    Jan 28, 2022

  4. Added to CIRCL KEV

    Jan 28, 2022

  5. Added to ENISA EUVD

    Jan 28, 2022

  6. Last updated

    Oct 21, 2025

Weakness Type

  • CWE-121 Stack-based Buffer Overflow
  • CWE-787 Out-of-bounds Write

FAQ

Common Questions.

Is CVE-2021-20038 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.