CVE-2020-24336 Memory corruption in n/a

Critical 9.8 Published Updated

Buffer overflow in Contiki NAT64 DNS parsing allows remote attackers to execute arbitrary code or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-24336?

CVE-2020-24336 is a critical memory corruption vulnerability in n/a, published on 11 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-120

Which versions are affected by CVE-2020-24336?

It affects 2 products.

Products include Contiki-Ng Contiki-Ng, Contiki-Os Contiki.

How do I fix CVE-2020-24336?

No fix has been published for CVE-2020-24336 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-24336 being exploited?

There is no known exploitation of CVE-2020-24336 in the wild and no public exploit code.

Sources

Also known as GHSA-37q6-vw96-q6q8.

Is CVE-2020-24336 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free