All the vulnerabilites related to Apache Software Foundation - Apache NiFi Registry
cve-2022-33140
Vulnerability from cvelistv5
Published
2022-06-15 14:25
Modified
2024-08-03 08:01
Severity ?
EPSS score ?
Summary
Improper Neutralization of Command Elements in Shell User Group Provider
References
▼ | URL | Tags |
---|---|---|
https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr | x_refsource_MISC | |
https://nifi.apache.org/security.html#CVE-2022-33140 | x_refsource_MISC |
Impacted products
{ "containers": { "adp": [ { "providerMetadata": { "dateUpdated": "2024-08-03T08:01:19.873Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr" }, { "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://nifi.apache.org/security.html#CVE-2022-33140" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "Apache NiFi", "vendor": "Apache Software Foundation", "versions": [ { "lessThanOrEqual": "1.16.2", "status": "affected", "version": "up to 1.16.2", "versionType": "custom" }, { "lessThan": "1.10.0*", "status": "affected", "version": "1.10.0", "versionType": "custom" } ] }, { "product": "Apache NiFi Registry", "vendor": "Apache Software Foundation", "versions": [ { "lessThanOrEqual": "1.16.2", "status": "affected", "version": "up to 1.16.2", "versionType": "custom" }, { "lessThan": "0.6.0*", "status": "affected", "version": "0.6.0", "versionType": "custom" } ] } ], "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": [ { "other": { "content": { "other": "high" }, "type": "unknown" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-78", "description": "CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2022-06-15T14:25:15", "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "shortName": "apache" }, "references": [ { "tags": [ "x_refsource_MISC" ], "url": "https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr" }, { "tags": [ "x_refsource_MISC" ], "url": "https://nifi.apache.org/security.html#CVE-2022-33140" } ], "source": { "defect": [ "NIFI-10114" ], "discovery": "UNKNOWN" }, "timeline": [ { "lang": "en", "time": "2022-06-11T00:00:00", "value": "reported" } ], "title": "Improper Neutralization of Command Elements in Shell User Group Provider", "workarounds": [ { "lang": "en", "value": "Disabling the ShellUserGroupProvider mitigates the vulnerability." } ], "x_generator": { "engine": "Vulnogram 0.0.9" }, "x_legacyV4Record": { "CVE_data_meta": { "ASSIGNER": "security@apache.org", "ID": "CVE-2022-33140", "STATE": "PUBLIC", "TITLE": "Improper Neutralization of Command Elements in Shell User Group Provider" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "Apache NiFi", "version": { "version_data": [ { "version_affected": "\u003c=", "version_name": "up to 1.16.2", "version_value": "1.16.2" }, { "version_affected": "\u003e=", "version_name": "1.10.0", "version_value": "1.10.0" } ] } }, { "product_name": "Apache NiFi Registry", "version": { "version_data": [ { "version_affected": "\u003c=", "version_name": "up to 1.16.2", "version_value": "1.16.2" }, { "version_affected": "\u003e=", "version_name": "0.6.0", "version_value": "0.6.0" } ] } } ] }, "vendor_name": "Apache Software Foundation" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "generator": { "engine": "Vulnogram 0.0.9" }, "impact": [ { "other": "high" } ], "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr", "refsource": "MISC", "url": "https://lists.apache.org/thread/bzs2pcdjsdrh5039oslmfr9mbs9qqdhr" }, { "name": "https://nifi.apache.org/security.html#CVE-2022-33140", "refsource": "MISC", "url": "https://nifi.apache.org/security.html#CVE-2022-33140" } ] }, "source": { "defect": [ "NIFI-10114" ], "discovery": "UNKNOWN" }, "timeline": [ { "lang": "en", "time": "2022-06-11T00:00:00", "value": "reported" } ], "work_around": [ { "lang": "en", "value": "Disabling the ShellUserGroupProvider mitigates the vulnerability." } ] } } }, "cveMetadata": { "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09", "assignerShortName": "apache", "cveId": "CVE-2022-33140", "datePublished": "2022-06-15T14:25:15", "dateReserved": "2022-06-13T00:00:00", "dateUpdated": "2024-08-03T08:01:19.873Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1" }