CVE-2018-6948

CRITICAL

CCN-lite 2 - Buffer Overflow in ccnl_prefix_to_str_detailed via NFN-R2C Packet

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Third Party Advisory x_refsource_confirm
https://github.com/cn-uofbasel/ccn-lite/issues/193

Scores

CVSS v3 9.8
EPSS 0.0156
EPSS Percentile 72.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-119
Status published
Products (1)
ccn-lite/ccn-lite 2.0.0
Published Feb 13, 2018
Tracked Since Feb 18, 2026