apache/nifi · Security
Apache NiFi vulnerable to Deserialization of Untrusted Data
- GHSA ID
- GHSA-65wh-g8x8-gm2h
- CVE ID
- CVE-2023-34212
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Description
The JndiJmsConnectionFactoryProvider Controller Service, along with the ConsumeJMS and PublishJMS Processors, in Apache NiFi 1.8.0 through 1.21.0 allow an authenticated and authorized user to configure URL and library properties that enable deserialization of untrusted data from a remote location.
The resolution validates the JNDI URL and restricts locations to a set of allowed schemes.
You are recommended to upgrade to version 1.22.0 or later which fixes this issue.
CWEs
- CWE-502 · Deserialization of Untrusted Data
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-34212 ↗
- https://lists.apache.org/thread/w5rm46fxmvxy216tglf0dv83wo6gnzr5 ↗
- https://nifi.apache.org/security.html#CVE-2023-34212 ↗
- https://github.com/apache/nifi/pull/7313 ↗
- https://github.com/apache/nifi/commit/3fcb82ee4509d1ad73893d8dca003be6d086c5d6 ↗
- https://issues.apache.org/jira/browse/NIFI-11614 ↗
- http://www.openwall.com/lists/oss-security/2023/06/12/2 ↗
- https://github.com/advisories/GHSA-65wh-g8x8-gm2h ↗