OSV-2021-213 Heap-use-after-free in ZSTD_freeDDict

Not scored Published

A heap-use-after-free vulnerability in ZSTD_freeDDict allows attackers to cause denial of service or potentially execute arbitrary code via crafted 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-213?

OSV-2021-213 is an use after free vulnerability in c-blosc2, published on 20 Jan 2021.

Official description

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

Crash type: Heap-use-after-free READ {*}
Crash state:
ZSTD_freeDDict
blosc2_free_ctx
blosc2_schunk_free

Which versions are affected by OSV-2021-213?

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

PackageAffectedFixed in
c-blosc2 OSS-FuzzAll versionsNone

How do I fix OSV-2021-213?

No fix has been published for OSV-2021-213 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is OSV-2021-213 being exploited?

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

Sources

Is OSV-2021-213 in your software?

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

Check your SBOMs for free