# CVE-2022-25167: Apache Flume vulnerable to a JNDI RCE in JMSSource

- 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): 5.40%, higher than 92% of CVEs (2026-12-01)
- Published: 2022-06-14T07:55:10.000Z
- Modified: 2026-06-17T04:33:08.273Z
- Also known as: GHSA-x5m7-rwfx-w7qm
- Weaknesses: CWE-20, CWE-74
- Assigned by: apache

## Description

Apache Flume versions 1.4.0 through 1.9.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.10.0
- org.apache.flume.flume-ng-sources:flume-jms-source (Maven): from 1.4.0 before 1.10.0
- apache flume: from 1.4.0 before 1.10.0

## Every score

- GitHub: rating High
- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg> (broken-link, web)
- <https://issues.apache.org/jira/browse/FLUME-3416> (issue-tracking, patch, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/06/14/1> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-25167> (advisory)
- <https://github.com/apache/flume/commit/dafb26ccb172141c6e14e95447e1b6ae38e9a7d0> (web)
- <https://github.com/apache/flume> (package)

## Sources

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

---

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