GHSA-h588-76vg-prgj `DecimalArray` does not perform bound checks on accessing values and offsets

Not scored Published

Attackers can trigger out-of-bounds reads in safe code via malformed buffers, potentially leaking memory or causing crashes in applications using this Rust library.

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

What is GHSA-h588-76vg-prgj?

GHSA-h588-76vg-prgj is a memory corruption vulnerability in arrow, published on 14 Sep 2021.

Official description

DecimalArray performs insufficient bounds checks, which allows out-of-bounds reads in safe code if the lenght of the backing buffer is not a multiple of 16.

Which versions are affected by GHSA-h588-76vg-prgj?

3 open source packages ship an affected version, including arrow.

PackageAffectedFixed in
arrow crates.ioAll versions6.4.0
arrow crates.ioAll versions6.4.0
arrow crates.ioFrom 0.0.0-06.4.0

How do I fix GHSA-h588-76vg-prgj?

Upgrade arrow to 6.4.0 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is GHSA-h588-76vg-prgj being exploited?

There is no known exploitation of GHSA-h588-76vg-prgj in the wild and no public exploit code.

Sources

Also known as RUSTSEC-2021-0117.

Is GHSA-h588-76vg-prgj in your software?

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

Check your SBOMs for free