Unrated severityOSV Advisory· Published Feb 13, 2018· Updated Sep 16, 2024
CVE-2018-6948
CVE-2018-6948
Description
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.
Affected products
1- Range: 0.1.0, 0.3.1, 2.0.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- github.com/cn-uofbasel/ccn-lite/issues/193mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.