CVE-2022-25167
publishedApache Flume vulnerable to a JNDI RCE in JMSSource
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Flumeflume-jms-source to < 1.10.0 (affected · custom); changes: affected at 1.4.0 | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Flume | flume-jms-source to < 1.10.0 (affected · custom); changes: affected at 1.4.0 | apache · cna |
Weaknesses
2- CWE-20 CWE-20 Improper Input Validation
- CWE-74 CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
3- [oss-security] 20220614 CVE-2022-25167 - Apache Flume JMSSource does not protect from malicious JNDI urls http://www.openwall.com/lists/oss-security/2022/06/14/1
- https://issues.apache.org/jira/browse/FLUME-3416
- https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg
Provider assertions
2apache · cna
Apache Flume vulnerable to a JNDI RCE in JMSSource
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 009faac3b504401c9997fec9270874dede04ec3409bf87eb84ece110931f6996
- Ingested
- 23 Sep 2026, 07:58:58 UTC
- Source record
- Official CVE record