CVE-2022-3275 Puppetlabs-apt Command Injection

High 8.4 Published Updated

Attackers can execute arbitrary commands if they control unsanitized input to the Puppetlabs-apt module, requiring specific deployment conditions.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-3275?

CVE-2022-3275 is a high-severity command injection vulnerability in Fedoraproject Fedora, published on 7 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Command injection is possible in the puppetlabs-apt module prior to version 9.0.0. A malicious actor is able to exploit this vulnerability only if they are able to provide unsanitized input to the module. This condition is rare in most deployments of Puppet and Puppet Enterprise.

Weakness: CWE-78

Which versions are affected by CVE-2022-3275?

It affects 2 products.

Products include Fedoraproject Fedora, Puppet Puppetlabs-Mysql.

How do I fix CVE-2022-3275?

Upgrade to a fixed version.

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

Is CVE-2022-3275 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-3275, UBUNTU-CVE-2022-3275.

Is CVE-2022-3275 in your software?

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

Check your SBOMs for free