CVE-2018-6480

Source
https://cve.org/CVERecord?id=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
2026-04-10T04:08:11.779733Z
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
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0"
        }
    ]
}

Affected versions

0.*
0.1.0
0.3.1
2.*
2.0.0

Database specific

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