CVE-2021-26843

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.
References
Link Resource
https://github.com/blueness/sthttpd/issues/14 Exploit Third Party Advisory
https://github.com/blueness/sthttpd/issues/14 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:sthttpd_project:sthttpd:*:*:*:*:*:*:*:*

History

21 Nov 2024, 05:56

Type Values Removed Values Added
References () https://github.com/blueness/sthttpd/issues/14 - Exploit, Third Party Advisory () https://github.com/blueness/sthttpd/issues/14 - Exploit, Third Party Advisory

Information

Published : 2021-02-07 21:15

Updated : 2024-11-21 05:56


NVD link : CVE-2021-26843

Mitre link : CVE-2021-26843

CVE.ORG link : CVE-2021-26843


JSON object : View

Products Affected

sthttpd_project

  • sthttpd
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer