CVE-2021-26843Sthttpd Project Sthttpd
High 7.5 No auth needed
Follow: this CVE · Sthttpd Project · Sthttpd Project Sthttpd We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 74
- Auth required
- No
- Published
- Feb 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Sthttpd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sthttpd_project | sthttpd | ≤ 2.27.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory