cve.bz

CVE-2022-33140 apache: OS Command Injection

8.8 highEPSS 3.5%Fix available

High (8.8) in apache. EPSS 3.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.nifi.registry:nifi-registry-core 1.16.3.

On this page
The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not neutralize arguments for group resolution commands, allowing injection of operating system commands on Linux and macOS platforms. The ShellUserGroupProvider is not included in the default configuration. Command injection requires ShellUserGroupProvider to be one of the enabled User Group Providers in the Authorizers configuration. Command injection also requires an authenticated user with elevated privileges. Apache NiFi requires an authenticated user with authorization to modify access policies in order to execute the command. Apache NiFi Registry requires an authenticated user with authorization to read user groups in order to execute the command. The resolution removes command formatting based on user-provided arguments.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
3.5% (unchanged from 3.5% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-33140 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-33140?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-33140?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-33140 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache NiFifrom up to 1.16.2 through 1.16.2
Apache Software Foundation Apache NiFifrom 1.10.0 before 1.10.0*
Apache Software Foundation Apache NiFi Registryfrom up to 1.16.2 through 1.16.2
Apache Software Foundation Apache NiFi Registryfrom 0.6.0 before 0.6.0*

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-77hf-23pq-2g7cMavenorg.apache.nifi.registry:nifi-registry-core>=0.6.0 <1.16.31.16.3
GHSA-77hf-23pq-2g7cMavenorg.apache.nifi:nifi>=1.10.0 <1.16.31.16.3

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON