OS Command Injection in Apache Nifi and Apache NiFi Registry - CVE-2022-33140
Published: June 15, 2022
Vulnerability identifier: #VU64418
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-33140
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: Apache Foundation
Affected software:
Apache Nifi
Apache NiFi Registry
Apache Nifi
Apache NiFi Registry
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in ShellUserGroupProvider implementation. A remote authenticated user can pass specially crafted data to the application and execute arbitrary OS commands on the target system.
How to mitigate CVE-2022-33140
Install updates from vendor's website.