OSV-2021-1266 UNKNOWN WRITE in void AK::BumpAllocator<true, 2097152ul>::for_each_chunk<AK::UniformBumpAllocator

Not scored Published

A memory corruption vulnerability in the SerenityOS regex library allows attackers to cause a denial of service 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-1266?

OSV-2021-1266 is a memory corruption vulnerability in serenity, published on 16 Sep 2021.

Official description

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

Crash type: UNKNOWN WRITE
Crash state:
void AK::BumpAllocator&lt;true, 2097152ul&gt;::for_each_chunk&lt;AK::UniformBumpAllocator
regex::BumpAllocatedLinkedList&lt;regex::MatchState&gt;::~BumpAllocatedLinkedList
regex::Matcher&lt;regex::ECMA262Parser&gt;::execute

Which versions are affected by OSV-2021-1266?

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

PackageAffectedFixed in
serenity OSS-FuzzAll versionsNone

How do I fix OSV-2021-1266?

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

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

Sources

Is OSV-2021-1266 in your software?

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

Check your SBOMs for free