LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

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

RBRecent Breaches Vulnerability Intelligence·Jan 28, 2022
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
Feb 11, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2021-20038 to its Known Exploited Vulnerabilities catalog on Jan 28, 2022, with a federal patch deadline of Feb 11, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

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

CVE-2021-20038 is an unauthenticated stack-based buffer overflow in SonicWall SMA 100 appliances. Successful exploitation can lead to code execution on the device. Because these appliances often sit at the network edge for remote access, a compromise can give an attacker a foothold into internal systems. CISA notes known ransomware use of this vulnerability, so prompt attention is warranted.

Defenders should treat internet-facing SMA 100 instances as high priority until they confirm the vendor update has been applied. Specifics such as exact affected builds must be confirmed against the vendor advisory.

How it works

The weakness is classified as CWE-121, a stack-based buffer overflow. In this class of flaw, input is written past the bounds of a fixed-size buffer allocated on the stack. An unauthenticated attacker can supply crafted data that overwrites adjacent stack memory. When that memory includes control information such as a return address, the attacker can redirect execution and run arbitrary code with the privileges of the vulnerable process.

Public detail on the precise input vector or packet format is limited in the provided record; treat any exploit description outside the vendor advisory as unverified. The essential risk is that no prior authentication is required and that code execution on the appliance is the stated outcome.

Am I affected? How to find it in your systems

SonicWall SMA 100 appliances are typically deployed as SSL VPN or secure remote-access gateways, often with a public management or portal interface. Inventory steps:

Telemetry signs of exploitation are not detailed in the given facts. In general for this class, look for unexpected process crashes, core dumps, or anomalous outbound connections originating from the appliance itself. Confirm any detection guidance against the vendor advisory and your own baseline logs.

How to remediate

Patch first. CISA’s required action is to apply updates per vendor instructions. Obtain the security update that addresses CVE-2021-20038 from SonicWall, schedule a maintenance window, and install it on every SMA 100 appliance. Afterward, verify the new firmware version is running and that the device reboots cleanly into the expected configuration.

Once patched, apply hardening appropriate to the product class:

If you can't patch immediately

If an immediate update is impossible, reduce exposure until you can:

These measures lower likelihood and impact but do not replace the vendor update.

If your data may have been exposed

Actively exploited vulnerabilities, especially those with documented ransomware use, frequently precede broader network compromise and data theft. If you discover evidence of exploitation or cannot rule it out, follow your incident-response plan: isolate affected systems, preserve logs, rotate credentials that traversed the appliance, and assess whether internal hosts were reached. You can also run a free exposure scan of your email addresses against known breach data sets to determine whether associated credentials or personal information have already appeared in public dumps, then force password resets and enable multi-factor authentication where missing.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedSonicWall · SMA 100 Appliances
WeaknessCWE-121
Added to CISA KEVJan 28, 2022
Federal patch deadlineFeb 11, 2022
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities