OSV-2021-1651 Heap-buffer-overflow in PCIDSK::CPCIDSKFile::ReadFromFile

Not scored Published

A heap-buffer-overflow in the PCIDSK library allows attackers to execute arbitrary code or cause denial of service via crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is OSV-2021-1651?

OSV-2021-1651 is a memory corruption vulnerability in gdal, published on 6 Dec 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Crash type: Heap-buffer-overflow WRITE {*}
Crash state:
PCIDSK::CPCIDSKFile::ReadFromFile
PCIDSK::CPCIDSKSegment::ReadFromFile
PCIDSK::CPCIDSKBinarySegment::CPCIDSKBinarySegment

Which versions are affected by OSV-2021-1651?

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

PackageAffectedFixed in
gdal OSS-FuzzAll versionsNone

How do I fix OSV-2021-1651?

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

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

Sources

Is OSV-2021-1651 in your software?

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

Check your SBOMs for free