Buffer overflow in Ccn-Lite

CVE-2018-12889

An issue was discovered in CCN-lite 2.0.1. There is a heap-based buffer overflow in mkAddToRelayCacheRequest and in ccnl_populate_cache for an array lacking '\0' termination when reading a binary CCNx or NDN file. This can result in Heap Corruption. This was addressed by fixing the memory management in mkAddToRelayCacheRequest in ccn-lite-ctrl.c.

Vulnerability class: Buffer Overflow

EPSS: 0.017 (74.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Ccn-lite — versions 2.0.1
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-12889?
CVE-2018-12889 is a critical-severity vulnerability in Ccn-Lite, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2018-06-26.
How severe is CVE-2018-12889?
Critical severity. CVSS v3 base score is 9.8 out of 10.