Vulnerability Description
A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the nonce feature (which, for example, helped with loop prevention). ccnl_fwd_handleInterest assumes that the union member s is of type ccnl_pktdetail_ndntlv_s. However, if the type is in fact struct ccnl_pktdetail_ccntlv_s or struct ccnl_pktdetail_iottlv_s, the memory at that point is either uninitialised or points to data that is not a nonce, which renders the code using the local variable nonce pointless. A later nonce check is insufficient.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ccn-Lite | Ccn-Lite | 2.0.0 |
Related Weaknesses (CWE)
References
- https://github.com/cn-uofbasel/ccn-lite/issues/159Third Party Advisory
- https://github.com/cn-uofbasel/ccn-lite/issues/159Third Party Advisory
FAQ
What is CVE-2018-6480?
CVE-2018-6480 is a vulnerability with a CVSS score of 8.8 (HIGH). A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the nonce feature (which, for example, helped with loop prevention). ccnl_fwd_handleInterest ...
How severe is CVE-2018-6480?
CVE-2018-6480 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-6480?
Check the references section above for vendor advisories and patch information. Affected products include: Ccn-Lite Ccn-Lite.