CVE-2022-29712 Command injection in librenms

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on the server via vulnerable parameters in LibreNMS, requiring immediate upgrade.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-29712?

CVE-2022-29712 is a critical command injection vulnerability in Librenms Librenms, published on 31 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibreNMS v22.3.0 was discovered to contain multiple command injection vulnerabilities via the service_ip, hostname, and service_param parameters.

Weakness: CWE-77

Which versions are affected by CVE-2022-29712?

2 open source packages ship an affected version, including librenms/librenms. It affects 1 product.

PackageAffectedFixed in
librenms/librenms PackagistAll versions22.4.0
librenms/librenms PackagistAll versions22.4.0

Products include Librenms Librenms.

How do I fix CVE-2022-29712?

Upgrade librenms/librenms to 22.4.0 or later.

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

Is CVE-2022-29712 being exploited?

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

All Librenms Librenms vulnerabilities

Sources

Also known as GHSA-23f2-vgr6-fwv7.

Is CVE-2022-29712 in your software?

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

Check your SBOMs for free