CVE-2023-42658 InSpec Archive Command Vulnerable to Maliciously Crafted Profile

High 8.8 Published Updated

Attackers can execute arbitrary local commands by providing a maliciously crafted profile to the Chef InSpec archive command.

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

What is CVE-2023-42658?

CVE-2023-42658 is a high-severity code injection vulnerability in Progress Software Corporation Chef InSpec, published on 31 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Archive command in Chef InSpec prior to 4.56.58 and 5.22.29 allow local command execution via maliciously crafted profile.

Weakness: CWE-94, CWE-917

Which versions are affected by CVE-2023-42658?

It affects 1 product.

Products include Chef Inspec.

How do I fix CVE-2023-42658?

No fix has been published for CVE-2023-42658 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-42658 being exploited?

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

Sources

Also known as GHSA-x626-c49h-fr9m.

Is CVE-2023-42658 in your software?

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

Check your SBOMs for free