CVE-2018-6948: CCN-lite - Buffer Overflow
- Cve: CVE-2018-6948
- Name: CCN-lite - Buffer Overflow
- Description: In CCN-lite 2, the function ccnl_prefix_to_str_detailed can cause a buffer overflow, when writing a prefix to the buffer buf. The maximal size of the prefix is CCNL_MAX_PREFIX_SIZE; the buffer has the size CCNL_MAX_PREFIX_SIZE. 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 CCNL_MAX_PREFIX_SIZE can cause an overflow of buf inside ccnl_prefix_to_str_detailed.
- Impact: Attackers can cause memory corruption or crashes, potentially leading to arbitrary code execution or denial of service.
- Remediation: Update to the latest version of CCN-lite that addresses this buffer overflow or apply relevant patches.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01534
- Epss percentile: 0.75485
- Assignee: [email protected]
- Published at: 2018-02-13T17:29:00Z
- Age in days: 3206
- Modified at: 2026-06-17T02:02:29Z
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-6948
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/cn-uofbasel/ccn-lite/issues/193 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ccn-lite:ccn-lite | = 2.0.0 | no | nvd | /v1/products/ccn-lite/ccn-lite |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| cn-uofbasel/ccn-lite | issues | yes | /v1/repositories/cn-uofbasel/ccn-lite |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts