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 (hide)

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

History

No history.

Information

Published : 2018-02-13 17:29

Updated : 2024-02-04 19:46


NVD link : CVE-2018-6948

Mitre link : CVE-2018-6948

CVE.ORG link : CVE-2018-6948


JSON object : View

Products Affected

ccn-lite

  • ccn-lite
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer