GitHub Advisory Database
GHSA-5xc6-fpc7-4qvg
CoAPthon DoS due to Exceptions
Details
The Serialize.deserialize() method in CoAPthon 3.1, 4.0.0, 4.0.1, and 4.0.2 mishandles certain exceptions, leading to a denial of service in applications that use this library (e.g., the standard CoAP server, CoAP client, CoAP reverse proxy, example collect CoAP server and client) when they receive crafted CoAP messages.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | coapthon | All versions up to and including 4.0.2 |