OSV-2021-16 Stack-buffer-overflow in JS::Heap::gather_conservative_roots

Not scored Published

A stack-buffer-overflow in the JavaScript engine's garbage collector can lead to crashes or potential code execution.

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

OSV-2021-16 is a memory corruption vulnerability in serenity, published on 6 Jan 2021.

Official description

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

Crash type: Stack-buffer-overflow READ 8
Crash state:
JS::Heap::gather_conservative_roots
JS::Heap::gather_roots
JS::Heap::collect_garbage

Which versions are affected by OSV-2021-16?

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

PackageAffectedFixed in
serenity OSS-FuzzAll versionsNone

How do I fix OSV-2021-16?

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

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

Sources

Is OSV-2021-16 in your software?

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

Check your SBOMs for free