CVE-2018-20579 Memory corruption in n/a
A stack-based buffer overflow in Contiki-NG's JSON parser allows attackers to cause out-of-bounds writes, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-20579?
CVE-2018-20579 is a high-severity memory corruption vulnerability in n/a, published on 28 Dec 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Contiki-NG before 4.2 has a stack-based buffer overflow in the push function in os/lib/json/jsonparse.c that allows an out-of-bounds write of an '{' or '[' character.
Weakness: CWE-787
Which versions are affected by CVE-2018-20579?
It affects 1 product.
Products include Contiki-Ng Project Contiki-Ng.
How do I fix CVE-2018-20579?
No fix has been published for CVE-2018-20579 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-2018-20579 being exploited?
There is no known exploitation of CVE-2018-20579 in the wild and no public exploit code.
Sources
Also known as GHSA-r9mc-297w-w563.