CVE-2018-6948

Source
https://cve.org/CVERecord?id=CVE-2018-6948
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6948.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6948
Published
2018-02-13T17:29:00.250Z
Modified
2026-07-08T17:17:39.985776Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

In CCN-lite 2, the function ccnlprefixtostrdetailed can cause a buffer overflow, when writing a prefix to the buffer buf. The maximal size of the prefix is CCNLMAXPREFIXSIZE; the buffer has the size CCNLMAXPREFIXSIZE. However, when NFN is enabled, additional characters are written to the buffer (e.g., the "NFN" and "R2C" tags). Therefore, sending an NFN-R2C packet with a prefix of size CCNLMAXPREFIXSIZE can cause an overflow of buf inside ccnlprefixtostr_detailed.

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
{
    "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"
}

Affected versions

2.*
2.0.0

Database specific

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