CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Ccn-lite

CVE-2018-6948
Ccn-lite vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Ccn-lite. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Ccn-lite runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Ccn-lite products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.