CVE-2021-20038
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- In the wild
- CISA lists this as exploited in real attacks. Treat as urgent.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- 2022-01-28 Exploited in the wildAdded to CISA's Known Exploited Vulnerabilities list
- 2022-02-11 Remediation deadlineCISA's due date for federal agencies to fix it
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: yes, CISA lists it. This puts it above everything that is not.
- Exploit odds: 99.9% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
- It meets the bar for Drop everything: critical, and exploited or very likely to be.
Details
- Published
- Last modified
- Added to CISA KEV
- 2022-01-28
- Exploit probability
- 99.9% · EPSS, next 30 days
- Weakness
- CWE-121
- Record status
- Analyzed
Affected
- Sonicwall Sma 200 Firmware 10.2.0.8-37sv
- Sonicwall Sma 200 Firmware 10.2.1.1-19sv
- Sonicwall Sma 200 Firmware 10.2.1.2-24sv
- Sonicwall Sma 210 Firmware 10.2.0.8-37sv
- Sonicwall Sma 210 Firmware 10.2.1.1-19sv
- Sonicwall Sma 210 Firmware 10.2.1.2-24sv
- Sonicwall Sma 410 Firmware 10.2.0.8-37sv
- Sonicwall Sma 410 Firmware 10.2.1.1-19sv
Attack profile CVSS 3.1 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-20038.md and follow it. Check whether this project is affected by CVE-2021-20038. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
References
- https://github.com/jbaines-r7/badblood
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
- https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/
- https://github.com/jbaines-r7/badblood
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0026
- https://www.rapid7.com/blog/post/2022/01/11/cve-2021-20038-42-sonicwall-sma-100-multiple-vulnerabilities-fixed-2/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-20038