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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2018-02-13T17:00:00Z

Updated: 2024-09-16T20:59:11.205Z

Reserved: 2018-02-13T00:00:00Z

Link: CVE-2018-6948

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-02-13T17:29:00.250

Modified: 2024-11-21T04:11:28.140

Link: CVE-2018-6948

cve-icon Redhat

No data.