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.
References
Link | Resource |
---|---|
https://github.com/cn-uofbasel/ccn-lite/issues/159 | Third Party Advisory |
https://github.com/cn-uofbasel/ccn-lite/issues/159 | Third Party Advisory |
Configurations
History
21 Nov 2024, 04:10
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/cn-uofbasel/ccn-lite/issues/159 - Third Party Advisory |
Information
Published : 2018-01-31 20:29
Updated : 2024-11-21 04:10
NVD link : CVE-2018-6480
Mitre link : CVE-2018-6480
CVE.ORG link : CVE-2018-6480
JSON object : View
Products Affected
ccn-lite
- ccn-lite
CWE
CWE-704
Incorrect Type Conversion or Cast