7.5high
An issue was discovered in sthttpd through 2.27.1.
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.46% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| sthttpd_project sthttpd | up to 2.27.1 | NVD |
All scores
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema en sthttpd versiones hasta 2.27.1. En los sistemas en los que la función strcpy es implementada con memcpy, la función de_dotdot puede causar una denegación de servicio (bloqueo del demonio) debido a la superposición de rangos de memoria que se pasan a memcpy. Esto puede desencadenar con una petición HTTP GET para un nombre de archivo diseñado. NOTA: esto es similar a CVE-2017-10671, pero ocurre en una parte diferente de la función de_dotdot
References
| https://github.com/blueness/sthttpd/issues/14 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-26843 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-26843 changed 2026-06-17 | Public domain |