Vulnerability Description
An issue was discovered in sthttpd through 2.27.1. On systems where the strcpy function is implemented with memcpy, the de_dotdot function may cause a Denial-of-Service (daemon crash) due to overlapping memory ranges being passed to memcpy. This can triggered with an HTTP GET request for a crafted filename. NOTE: this is similar to CVE-2017-10671, but occurs in a different part of the de_dotdot function.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sthttpd Project | Sthttpd | <= 2.27.1 |
Related Weaknesses (CWE)
References
- https://github.com/blueness/sthttpd/issues/14ExploitThird Party Advisory
- https://github.com/blueness/sthttpd/issues/14ExploitThird Party Advisory
FAQ
What is CVE-2021-26843?
CVE-2021-26843 is a vulnerability with a CVSS score of 7.5 (HIGH). An issue was discovered in sthttpd through 2.27.1. On systems where the strcpy function is implemented with memcpy, the de_dotdot function may cause a Denial-of-Service (daemon crash) due to overlappi...
How severe is CVE-2021-26843?
CVE-2021-26843 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-26843?
Check the references section above for vendor advisories and patch information. Affected products include: Sthttpd Project Sthttpd.