CVE-2018-6948

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
Link Resource
https://github.com/cn-uofbasel/ccn-lite/issues/193 Third Party Advisory
Configurations

Configuration 1

cpe:2.3:a:ccn-lite:ccn-lite:2.0.0:*:*:*:*:*:*:*

Information

Published : 2018-02-13 05:29

Updated : 2018-03-16 01:46


NVD link : CVE-2018-6948

Mitre link : CVE-2018-6948

Products Affected
No products.
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer