Description (CNA)
TinyWeb through 0.0.8 contains a null pointer dereference vulnerability that allows unauthenticated remote attackers to crash worker processes by sending a malformed HTTP request line with an invalid version string. The HttpParser::execute() function fails to allocate the Url object when version parsing fails, leaving the url pointer NULL, and buildResponse() subsequently dereferences this NULL pointer without checking the valid_requ flag, producing a SIGSEGV that terminates the worker process and, when repeated across all workers, takes the server permanently offline until manually restarted.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| GeneralSandman / TinyWeb | affected e48f15d38d2bebeec9cabcfdde81931b10a1963b through a381da252fe8e873c8aff22703040426cc9b2ae0; affected 0.0.8 |
CWE
CWE-476
References
- https://github.com/theopaid/Unauthenticated-NULL-Pointer-Dereference-Crashes-the-Server-TinyWeb-
- https://www.vulncheck.com/advisories/tinyweb-null-pointer-dereference-dos-via-malformed-http-request
ADP enrichment
No English description supplied.
No references supplied.