Buffer overflow in Contiki-Ng

CVE-2020-24336

An issue was discovered in Contiki through 3.0 and Contiki-NG through 4.5. The code for parsing Type A domain name answers in ip64-dns64.c doesn't verify whether the address in the answer's length is sane. Therefore, when copying an address of an arbitrary length, a buffer overflow can occur. This bug can be exploited whenever NAT64 is enabled.

Vulnerability class: Buffer Overflow

EPSS: 0.591 (99.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (US Government Resource, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (US Government Resource, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2020-24336?
CVE-2020-24336 is a critical-severity vulnerability in Contiki-Ng, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 9.8/10. Published 2020-12-11.
How severe is CVE-2020-24336?
Critical severity. CVSS v3 base score is 9.8 out of 10.