OSV-2022-248 Uncaught exception in java.base/java.nio.Bits.reserveMemory

Not scored Published

An uncaught exception in Java NIO memory reservation can cause a denial of service when allocating direct buffers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
None listed

What is OSV-2022-248?

OSV-2022-248 is a denial of service vulnerability in arrow-java, published on 16 Mar 2022.

Official description

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

Crash type: Uncaught exception
Crash state:
java.base/java.nio.Bits.reserveMemory
java.base/java.nio.DirectByteBuffer.<init>
java.base/java.nio.ByteBuffer.allocateDirect

Which versions are affected by OSV-2022-248?

1 open source package ship an affected version, including arrow-java.

PackageAffectedFixed in
arrow-java OSS-FuzzAll versionsNone

How do I fix OSV-2022-248?

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

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is OSV-2022-248 being exploited?

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

Sources

Is OSV-2022-248 in your software?

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

Check your SBOMs for free