CVE-2018-12679 CoAPthon3 vulnerable to Deserialization of Untrusted Data
Attackers can cause denial of service in CoAPthon3 applications by sending crafted CoAP messages that trigger unhandled exceptions during deserialization.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-12679?
CVE-2018-12679 is a high-severity unsafe deserialization vulnerability in n/a, published on 2 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Serialize.deserialize() method in CoAPthon3 1.0 and 1.0.1 mishandles certain exceptions, leading to a denial of service in applications that use this library (e.g., the standard CoAP server, CoAP client, example collect CoAP server and client) when they receive crafted CoAP messages.
Weakness: CWE-502
Which versions are affected by CVE-2018-12679?
3 open source packages ship an affected version, including coapthon3 and CoAPthon3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
coapthon3 PyPI | All versions to 1.0.1 | None |
coapthon3 PyPI | From 1.0 | None |
CoAPthon3 PyPI | All versions to 1.0.1 | None |
Products include Coapthon3 Project Coapthon3.
How do I fix CVE-2018-12679?
No fix has been published for CVE-2018-12679 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2018-12679 being exploited?
There is no known exploitation of CVE-2018-12679 in the wild and no public exploit code.
Sources
Also known as GHSA-c6fm-rgw4-8q73, PYSEC-2019-166.