CVE-2022-33140
Java vulnerability analysis and mitigation

Overview

Apache NiFi and Apache NiFi Registry versions 1.10.0 to 1.16.2 contained a vulnerability in the optional ShellUserGroupProvider component that allowed command injection on Linux and macOS platforms. The vulnerability was identified as CVE-2022-33140 and was disclosed on June 15, 2022. The issue affected the user group resolution functionality in both NiFi and NiFi Registry applications (NVD).

Technical details

The vulnerability was classified as CWE-78 (OS Command Injection) and involved improper neutralization of command elements in the ShellUserGroupProvider component. The issue allowed injection of operating system commands through user group resolution commands. The ShellUserGroupProvider was not included in the default configuration, requiring explicit enablement in the Authorizers configuration (NVD, Apache NiFi).

Impact

The vulnerability could allow authenticated users with specific privileges to execute arbitrary operating system commands. For Apache NiFi, this required authorization to modify access policies, while for Apache NiFi Registry, it required authorization to read user groups (Apache NiFi).

Mitigation and workarounds

The vulnerability was fixed in Apache NiFi and NiFi Registry version 1.16.3 by completely removing the shell commands from the ShellUserGroupProvider that received user arguments. Users running affected versions should upgrade to version 1.16.3 or later (Apache NiFi).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • org.apache.tika:tika-parser-pdf-module
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management