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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-10-03T16:21:46
Updated: 2022-10-03T16:21:46
Reserved: 2022-10-03T00:00:00
Link: CVE-2018-6948
JSON object: View
NVD Information
Status : Analyzed
Published: 2018-02-13T17:29:00.250
Modified: 2018-03-16T13:46:11.950
Link: CVE-2018-6948
JSON object: View
Redhat Information
No data.
CWE