SCA: security update for org.apache.nifi.registry:nifi-registry-core, org.apache.nifi:nifi (GHSA-77hf-23pq-2g7c)

high Tenable Self-Hosted Container Security Plugin ID 411903

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-33140)

See Also

https://github.com/advisories/GHSA-77hf-23pq-2g7c

Plugin Details

Severity: High

ID: 411903

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6

Temporal Score: 4.4

Vector: CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2022-33140

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/16/2022

Vulnerability Publication Date: 6/15/2022

Reference Information

CVE: CVE-2022-33140