OSV-2021-703 Container-overflow in unsigned long jsoncons::detail::escape_string<char, jsoncons::string_sink<std::_
A container overflow in the jsoncons library allows attackers to cause a denial of service via crafted JSON input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2021-703?
OSV-2021-703 is a memory corruption vulnerability in jsoncons, published on 29 Apr 2021.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33781
Crash type: Container-overflow READ 1
Crash state:
unsigned long jsoncons::detail::escape_string<char, jsoncons::string_sink<std::_
jsoncons::basic_json_encoder<char, jsoncons::string_sink<std::__1::basic_string<
jsoncons::basic_json_visitor<char>::key
Which versions are affected by OSV-2021-703?
1 open source package ship an affected version, including jsoncons.
| Package | Affected | Fixed in |
|---|---|---|
jsoncons OSS-Fuzz | All versions | None |
How do I fix OSV-2021-703?
No fix has been published for OSV-2021-703 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-2021-703 being exploited?
There is no known exploitation of OSV-2021-703 in the wild and no public exploit code.