Vulnerability · Published Jun 14, 2022 · Assigned by apache
CVE-2022-25167Apache Flume vulnerable to a JNDI RCE in JMSSource
Critical 9.8
In plain English
A critical-severity improper input validation in Apache Flume from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.4% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.flume.flume-ng-sources:flume-jms-source | 1.10.0 | GHSA-x5m7-rwfx-w7qm |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Flume | flume-jms-source – before 1.10.0 |
Weakness: CWE-20, CWE-74
References
- https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg x_refsource_MISC
- https://issues.apache.org/jira/browse/FLUME-3416 x_refsource_MISC
- [oss-security] 20220614 CVE-2022-25167 - Apache Flume JMSSource does not protect from malicious JNDI urls mailing-list, x_refsource_MLIST