CVE-2022-28658 Command injection in Apport

Medium 5.5 Published Updated

Attackers can spoof arguments in Apport due to mishandled filename splitting on older kernels, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-28658?

CVE-2022-28658 is a medium-severity command injection vulnerability in Canonical Ubuntu Linux, published on 4 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Apport argument parsing mishandles filename splitting on older kernels resulting in argument spoofing

Which versions are affected by CVE-2022-28658?

It affects 2 products.

Products include Apport Project Apport, Canonical Ubuntu Linux.

How do I fix CVE-2022-28658?

Apply the vendor's patch.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-28658 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as GHSA-4pgv-p58j-ghpx, UBUNTU-CVE-2022-28658.

Is CVE-2022-28658 in your software?

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

Check your SBOMs for free