CVE-2022-25167
CRITICAL 9.8CVSS 3.1Remote 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.
- Published
- 14 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-x5m7-rwfx-w7qm
- Sources
- NVDJSONOSV GHSA-x5m7-rwfx-w7qmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | flumecpe:2.3:a:apache:flume:*:*:*:*:*:*:*:* |
>= 1.4.0, < 1.10.0 | 1.10.0 |
| OSV | Maven | org.apache.flume.flume-ng-sources:flume-jms-source | >= 1.4.0, < 1.10.0 | 1.10.0 |
References
- http://www.openwall.com/lists/oss-security/2022/06/14/1 · Mailing List, Third Party Advisory, WEB
- https://issues.apache.org/jira/browse/FLUME-3416 · Issue Tracking, Patch, Vendor Advisory, WEB
- https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg · Broken Link, 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Jun 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Jun 2022)