Apache NiFi: Potential Deserialization of Untrusted Data with JNDI in JMS Components
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache NiFi | 1.8.0 – 1.21.0 | — | No fix listed | CNA |
| — | org.apache.nifi:nifi-jms-processors (Maven) | 1.8.0 to before 1.22.0 | 1.22.0 | Patch available | GHSA-65wh-g8x8-gm2h |
- Apache NiFi VendorApache Affected 1.8.0 – 1.21.0 Fixed in — No fix listed CNA
- org.apache.nifi:nifi-jms-processors (Maven) Vendor— Affected 1.8.0 to before 1.22.0 Fixed in 1.22.0 Patch available GHSA-65wh-g8x8-gm2h
Remediation
- Fix · GHSA-65wh-g8x8-gm2h org.apache.nifi:nifi-jms-processors (Maven) Fixed in 1.22.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-34212
- 2026-10-03 Alias added: GHSA-65wh-g8x8-gm2h
References
Advisory 4
More Apache Nifi vulnerabilities
- TI-2023-17293 Apache NiFi: Potential Code Injection with Database Services using H2 CVSS 3.1HIGH 8.8
- TI-2020-16549 Uncontrolled resource consumption in Eclipse Jetty CVSS 3.1MEDIUM 5.3
- TI-2019-07411 Deserialization of untrusted data in Apache Commons Beanutils CVSS 3.1HIGH 7.3
- TI-2017-11471 Improper input validation in Apache NiFi CVSS 3.0CRITICAL 9.8
- TI-2018-01212 XML external entity injection in Apache NiFi CVSS 3.0CRITICAL 9.8
- TI-2021-03489 Deserialization of untrusted data in jackson-databind CVSS 3.1HIGH 8.1
Sources
- CVE-2023-34212 · CVE Program
- CVE-2023-34212 · NVD
- FIRST EPSS
- GHSA-65wh-g8x8-gm2h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences