{"id":"CVE-2018-6480","details":"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.","modified":"2026-08-14T09:05:22.893206Z","published":"2018-01-31T20:29:00.790Z","references":[{"type":"ADVISORY","url":"https://github.com/cn-uofbasel/ccn-lite/issues/159"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cn-uofbasel/ccn-lite","events":[{"introduced":"063fd8ad7e74f24410ef8fd9e23673c532500df5"},{"last_affected":"063fd8ad7e74f24410ef8fd9e23673c532500df5"}],"database_specific":{"cpe":"cpe:2.3:a:ccn-lite:ccn-lite:2.0.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.0"},{"last_affected":"2.0.0"}],"source":"CPE_STRING"}}],"versions":["2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6480.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}