Vulnerabilities · 2018 · Ccn-lite
CVE-2018-6480
Ccn-lite vulnerability
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.
Affected products
Ccn-lite. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ccn-lite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Ccn-lite products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.