CVE-2021-20038

CVE-2021-20038 is a critical-severity vulnerability in Sonicwall Sma 200 Firmware with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2022-01-28). The underlying weakness is classified as CWE-121.

Key facts

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.

Frequently asked questions

What is CVE-2021-20038?
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.
How severe is CVE-2021-20038?
CVE-2021-20038 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2021-20038 being actively exploited?
Yes. CVE-2021-20038 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2022-01-28, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2021-20038?
CVE-2021-20038 primarily affects Sonicwall Sma 200 Firmware. In total, 15 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2021-20038?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2021-20038 have an EU (EUVD) identifier?
Yes. CVE-2021-20038 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2021-7501. It is also flagged as exploited in the EUVD (since 2022-01-28).
When was CVE-2021-20038 published?
CVE-2021-20038 was published on 2021-12-08 and last updated on 2026-06-17.

References

Affected products (15)

More vulnerabilities in Sonicwall Sma 200 Firmware

All CVEs affecting Sonicwall Sma 200 Firmware →

Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities

Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →