Security mailing lists by PureSourceCode

CVE-2022-33140

HIGH 8.8CVSS 3.1

Code injection in Apache NiFi and NiFi Registry

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.

Published
15 Jun 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-74CWE-78
Also known as
BIT-nifi-2022-33140GHSA-77hf-23pq-2g7c
Sources
NVDJSONOSV GHSA-77hf-23pq-2g7cJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.0 AV:N/AC:M/Au:S/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache nifi
cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*
>= 1.10.0, <= 1.16.2
NVD apache nifi_registry
cpe:2.3:a:apache:nifi_registry:*:*:*:*:*:*:*:*
>= 0.6.0, <= 1.16.2
OSV Maven org.apache.nifi.registry:nifi-registry-core >= 0.6.0, < 1.16.3 1.16.3
OSV Maven org.apache.nifi:nifi >= 1.10.0, < 1.16.3 1.16.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Jun 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.