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.
Metrics
Affected Vendors & Products
References
Link | Providers |
---|---|
https://github.com/cn-uofbasel/ccn-lite/issues/193 |
History
No history.
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
Vulnrichment
No data.
NVD
Status : Modified
Published: 2018-02-13T17:29:00.250
Modified: 2024-11-21T04:11:28.140
Link: CVE-2018-6948
Redhat
No data.