ghsa-77hf-23pq-2g7c
Vulnerability from github
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.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.apache.nifi.registry:nifi-registry-core" }, "ranges": [ { "events": [ { "introduced": "0.6.0" }, { "fixed": "1.16.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.apache.nifi:nifi" }, "ranges": [ { "events": [ { "introduced": "1.10.0" }, { "fixed": "1.16.3" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-33140" ], "database_specific": { "cwe_ids": [ "CWE-74", "CWE-78" ], "github_reviewed": true, "github_reviewed_at": "2022-06-17T21:49:10Z", "nvd_published_at": "2022-06-15T15:15:00Z", "severity": "HIGH" }, "details": "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.", "id": "GHSA-77hf-23pq-2g7c", "modified": "2022-11-03T22:19:38Z", "published": "2022-06-16T00:00:26Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-33140" }, { "type": "PACKAGE", "url": "https://github.com/apache/nifi" }, { "type": "WEB", "url": "https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr" }, { "type": "WEB", "url": "https://nifi.apache.org/security.html#CVE-2022-33140" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Code injection in Apache NiFi and NiFi Registry" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.