# CVE-2022-34916: Improper Input Validation (JNDI Injection) in JMSMessageConsumer

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.69%, higher than 87% of CVEs (2026-11-30)
- Published: 2022-08-21T08:15:19.000Z
- Modified: 2026-06-17T04:51:09.013Z
- Also known as: GHSA-h9mh-mgpv-gqmv
- Weaknesses: CWE-20, CWE-74
- Assigned by: apache

## Description

Apache Flume versions 1.4.0 through 1.10.0 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with a JNDI LDAP data source URI when an attacker has control of the target LDAP server. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Flume: from flume-jms-source before 1.11.0
- org.apache.flume.flume-ng-sources:flume-jms-source (Maven): from 1.4.0 before 1.10.1
- apache flume: from 1.4.0 before 1.10.1

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://issues.apache.org/jira/browse/FLUME-3428> (issue-tracking, vendor-advisory, web)
- <https://lists.apache.org/thread/qkmt4r2t9tbrxrdbjg1m2oczbvczd9zn> (mailing-list, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34916> (advisory)
- <https://github.com/apache/flume/commit/7fe9af49c485756e1b618493a5bc00b70d7fbd2d> (web)
- <https://github.com/apache/flume> (package)

## Sources

- CVE List: [CVE-2022-34916](https://www.cve.org/CVERecord?id=CVE-2022-34916), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-h9mh-mgpv-gqmv](https://github.com/advisories/GHSA-h9mh-mgpv-gqmv), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-34916](https://nvd.nist.gov/vuln/detail/CVE-2022-34916), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-34916 · Whole record: https://cve.day/CVE-2022-34916.json · Rebuilt by cve.day 2026-11-25T22:58:14.348Z
