CVE-2018-6480

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-6480
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6480.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6480
Published
2018-01-31T20:29:00.790Z
Modified
2025-11-20T10:51:55.126532Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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). ccnlfwdhandleInterest assumes that the union member s is of type ccnlpktdetailndntlvs. However, if the type is in fact struct ccnlpktdetailccntlvs or struct ccnlpktdetailiottlv_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

Affected packages

Git / github.com/cn-uofbasel/ccn-lite

Affected ranges

Type
GIT
Repo
https://github.com/cn-uofbasel/ccn-lite
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

0.*

0.1.0
0.3.0
0.3.1

2.*

2.0.0

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6480.json"