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-04-10T04:08:14.789661Z
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
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-6948.json"