CVE-2022-29712: Command injection in librenms

librenms/librenms Updated 02 Oct 2025

Summary

03/06/2022
Yes i
High
Not published

CVE-2022-29712: Command injection in librenms. Affects librenms/librenms versions < 22.4.0. Fixed in 22.4.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

LibreNMS is an open-source network monitoring and management system. It provides a comprehensive platform for monitoring network devices, servers, and applications. LibreNMS v22.3.0 has been found to have multiple command injection vulnerabilities. These vulnerabilities can be exploited through the service_ip, hostname, and service_param parameters.

Vulnerability Detail

The command injection vulnerabilities in LibreNMS v22.3.0 allow an attacker to execute arbitrary commands on the system. By injecting malicious commands into the affected parameters, an attacker can gain unauthorized access, escalate privileges, or perform other malicious activities. This can lead to a complete compromise of the system and potential data breaches.

How To Fix

Minimum fixed version

22.4.0

This is the first release that contains the fix.

composer require librenms/librenms:22.4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is crucial to upgrade to the fixed version as soon as possible to mitigate the risk of exploitation.

Conclusion

LibreNMS v22.3.0 contains command injection vulnerabilities that can be exploited to execute arbitrary commands on the system. Upgrading to version 22.4.0 or later is necessary to fix these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for librenms/librenms →

Share this vulnerability

FAQ

LibreNMS is an open-source network monitoring and management system.

LibreNMS version 22.3.0 is affected by the command injection vulnerabilities.

The vulnerability can be exploited by injecting malicious commands into the service_ip, hostname, or service_param parameters.

The vulnerability can lead to unauthorized access, privilege escalation, and potential data breaches.

No, there is no known workaround. It is recommended to upgrade to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for librenms/librenms.

How To Fix

Minimum fixed version

22.4.0

This is the first release that contains the fix.

composer require librenms/librenms:22.4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback