OSV-2021-703 Container-overflow in unsigned long jsoncons::detail::escape_string<char, jsoncons::string_sink<std::_

Not scored Published

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&lt;char, jsoncons::string_sink&lt;std::_
jsoncons::basic_json_encoder&lt;char, jsoncons::string_sink&lt;std::__1::basic_string&lt;
jsoncons::basic_json_visitor&lt;char&gt;::key

Which versions are affected by OSV-2021-703?

1 open source package ship an affected version, including jsoncons.

PackageAffectedFixed in
jsoncons OSS-FuzzAll versionsNone

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.

Sources

Is OSV-2021-703 in your software?

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

Check your SBOMs for free