OSV-2021-1117 Heap-buffer-overflow in json_object_new_string

Not scored Published

A heap-buffer-overflow in the JSON parsing library can cause a crash when processing malformed input, leading to denial of service.

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-1117?

OSV-2021-1117 is a memory corruption vulnerability in clamav, published on 11 Aug 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37017

Crash type: Heap-buffer-overflow READ {*}
Crash state:
json_object_new_string
cli_jsonstr
cli_hwp5header

Which versions are affected by OSV-2021-1117?

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

PackageAffectedFixed in
clamav OSS-FuzzAll versionsNone

How do I fix OSV-2021-1117?

No fix has been published for OSV-2021-1117 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-1117 being exploited?

There is no known exploitation of OSV-2021-1117 in the wild and no public exploit code.

Sources

Is OSV-2021-1117 in your software?

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

Check your SBOMs for free