OSV-2020-252 Global-buffer-overflow in json_tokener_parse_ex
A global buffer overflow in the JSON parser allows attackers to cause crashes or potentially execute code via malicious input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2020-252?
OSV-2020-252 is a memory corruption vulnerability in json-c, published on 26 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23619
Crash type: Global-buffer-overflow READ 4
Crash state:
json_tokener_parse_ex
tokener_parse_ex_fuzzer.cc
Which versions are affected by OSV-2020-252?
1 open source package ship an affected version, including json-c.
| Package | Affected | Fixed in |
|---|---|---|
json-c OSS-Fuzz | All versions | None |
How do I fix OSV-2020-252?
No fix has been published for OSV-2020-252 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 OSV-2020-252 being exploited?
There is no known exploitation of OSV-2020-252 in the wild and no public exploit code.