CVE-2022-30065 Use after free in n/a

High 7.8 Published Updated

A use-after-free in BusyBox awk allows attackers to cause denial of service or potentially execute code via crafted patterns.

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-30065?

CVE-2022-30065 is a high-severity use after free vulnerability in n/a, published on 18 May 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

A use-after-free in Busybox 1.35-x's awk applet leads to denial of service and possibly code execution when processing a crafted awk pattern in the copyvar function.

Weakness: CWE-416

Which versions are affected by CVE-2022-30065?

It affects 7 products.

Linux distribution packages (5)
busybox SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.35.0-150000.4.17.1
busybox SUSE:Linux Enterprise Server 12 SP5All versions1.35.0-4.6.2
busybox SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.35.0-4.6.2
busybox openSUSE:Leap 15.3All versions1.35.0-150000.4.17.1
busybox openSUSE:TumbleweedAll versions1.35.0-9.1

Products include Busybox Busybox, Siemens Scalance Sc622-2c Firmware, Siemens Scalance Sc626-2c Firmware, Siemens Scalance Sc632-2c Firmware, Siemens Scalance Sc636-2c Firmware, Siemens Scalance Sc642-2c Firmware and 1 more.

How do I fix CVE-2022-30065?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-30065 being exploited?

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

Sources

Also known as ALPINE-CVE-2022-30065, AZL-9815, CLEANSTART-2026-EH13874, DEBIAN-CVE-2022-30065, GHSA-gq73-rh3m-3php, MGASA-2022-0458 and 4 more.

Is CVE-2022-30065 in your software?

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

Check your SBOMs for free