CVE-2022-25167: Apache Flume - JNDI Injection
- Cve: CVE-2022-25167
- Name: Apache Flume - JNDI Injection
- 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.
- Impact: Attackers can execute arbitrary code remotely by controlling the LDAP server used in configuration.
- Remediation: Limit JNDI to allow only the java protocol or no protocol to mitigate this issue.
- Vulnerability type: jndi_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.05397
- Epss percentile: 0.92878
- Assignee: [email protected]
- Published at: 2022-06-14T08:15:06Z
- Age in days: 1624
- Modified at: 2026-06-17T04:33:08Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25167
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
References
| Url | Source | Tags |
|---|---|---|
| https://issues.apache.org/jira/browse/FLUME-3416 | nvd | Issue Tracking, Patch, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2022/06/14/1 | nvd | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:flume | >= 1.4.0, < 1.10.0 | no | nvd | /v1/products/apache/flume |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/flume | commit, package | yes | /v1/repositories/apache/flume |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts