CVE-2022-25167
Apache Flume vulnerable to a JNDI RCE in JMSSource
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2022-25167- 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 - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-20, CWE-74
- Updated
- 2026-11-02
CVE List No score
Apache Flume vulnerable to a JNDI RCE in JMSSource
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.
- Record
CVE-2022-25167- Weakness
- CWE-20, CWE-74
- Updated
- 2026-11-02
EUVDEUVD-2022-6182 No score
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.
- Record
EUVD-2022-6182- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x5m7-rwfx-w7qm No score
Remote Code Execution in Apache Flume
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.
- Record
GHSA-x5m7-rwfx-w7qm- Updated
- 2026-11-02
OSVGHSA-x5m7-rwfx-w7qm No score
Remote Code Execution in Apache Flume
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.
- Record
GHSA-x5m7-rwfx-w7qm- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.flume.flume-ng-sources:flume-jms-sourceMaven |
1.4.0 up to 1.10.0 | 1.10.0 |
org.apache.flume.flume-ng-sources:flume-jms-sourceMaven |
1.4.0 up to 1.10.0, plus listed versions 1.5.01.5.0.11.5.11.5.21.6.01.7.01.8.01.9.0 |
1.10.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-25167 is a critical vulnerability (CVSS 9.8) in Apache Flume, published June 14, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.40%, the 92nd percentile. Fixed in org.apache.flume.flume-ng-sources:flume-jms-source 1.10.0.
References
lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg
issues.apache.org/jira/browse/FLUME-3416
openwall.com/lists/oss-security/2022/06/14/1
nvd.nist.gov/vuln/detail/CVE-2022-25167
github.com/apache/flume/commit/dafb26ccb172141c6e14e95447e1b6ae38e9a7d0
github.com/advisories/GHSA-x5m7-rwfx-w7qm
github.com/apache/flume