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-08-14T09:05:22.893206Z
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
Database specific
Show details
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:ccn-lite:ccn-lite:2.0.0:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.0.0"
        }
    ]
}

Affected versions

2.*
2.0.0

Database specific

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