OSV-2021-271 Heap-buffer-overflow in blosc_run_decompression_with_context

Not scored Published

A heap-buffer-overflow in the Blosc decompression function allows attackers to cause crashes or potentially execute code via crafted data.

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

OSV-2021-271 is a memory corruption vulnerability in c-blosc2, published on 4 Feb 2021.

Official description

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

Crash type: Heap-buffer-overflow READ 1
Crash state:
blosc_run_decompression_with_context
blosc2_decompress
fuzz_decompress_chunk.c

Which versions are affected by OSV-2021-271?

1 open source package ship an affected version, including c-blosc2.

PackageAffectedFixed in
c-blosc2 OSS-FuzzAll versionsNone

How do I fix OSV-2021-271?

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

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

Sources

Is OSV-2021-271 in your software?

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

Check your SBOMs for free