CVE-2022-33967 Memory corruption in U-Boot

High 7.8 Published Updated

Heap-based buffer overflow in U-Boot's squashfs implementation allows attackers to execute arbitrary code or cause denial of service via crafted images.

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
Available

What is CVE-2022-33967?

CVE-2022-33967 is a high-severity memory corruption vulnerability in DENX Software Engineering U-Boot, published on 20 Jul 2022. 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

squashfs filesystem implementation of U-Boot versions from v2020.10-rc2 to v2022.07-rc5 contains a heap-based buffer overflow vulnerability due to a defect in the metadata reading process. Loading a specially crafted squashfs image may lead to a denial-of-service (DoS) condition or arbitrary code execution.

Weakness: CWE-787

Which versions are affected by CVE-2022-33967?

It affects 1 product.

Products include Denx U-Boot.

How do I fix CVE-2022-33967?

Apply the vendor's patch.

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

Is CVE-2022-33967 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-33967, GHSA-m6jw-rg4f-jw25, OESA-2022-1800, UBUNTU-CVE-2022-33967.

Is CVE-2022-33967 in your software?

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

Check your SBOMs for free