Every CVE Search/ Get API key

CVE-2022-25167

Apache Flume vulnerable to a JNDI RCE in JMSSource

9.8 CriticalFix available

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

5.40%Up 1.4 points since Jun 14, 2022
90%50%10%1%

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 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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

Affected packages
PackageAffectedFixed
org.apache.flume.flume-ng-sources:flume-jms-source
Maven
1.4.0 up to 1.10.0
1.10.0
org.apache.flume.flume-ng-sources:flume-jms-source
Maven
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

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

MoveEnter Open