GHSA-w2pj-9cgh-mq2c opencv-contrib-python-headless bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863

Not scored Published

Attackers can execute arbitrary code or cause denial of service by tricking users into processing malicious WebP images via the vulnerable bundled libwebp library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-w2pj-9cgh-mq2c?

GHSA-w2pj-9cgh-mq2c is a memory corruption vulnerability in opencv-contrib-python-headless, published on 30 Aug 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

opencv-contrib-python-headless versions before v4.8.1.78 bundled libwebp binaries in wheels that are vulnerable to CVE-2023-4863. opencv-contrib-python-headless v4.8.1.78 upgrades the bundled libwebp binary to v1.3.2.

Which versions are affected by GHSA-w2pj-9cgh-mq2c?

2 open source packages ship an affected version, including opencv-contrib-python-headless.

PackageAffectedFixed in
opencv-contrib-python-headless PyPIAll versions4.8.1.78
opencv-contrib-python-headless PyPIAll versions4.8.1.78

How do I fix GHSA-w2pj-9cgh-mq2c?

Upgrade opencv-contrib-python-headless to 4.8.1.78 or later.

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

Is GHSA-w2pj-9cgh-mq2c being exploited?

There is no known exploitation of GHSA-w2pj-9cgh-mq2c in the wild and no public exploit code.

Sources

Is GHSA-w2pj-9cgh-mq2c in your software?

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

Check your SBOMs for free