CVE-2022-25167
Remote Code Execution in Apache Flume
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.flume.flume-ng-sources:flume-jms-source | 1.10.0 |
References
- http://www.openwall.com/lists/oss-security/2022/06/14/1
- https://github.com/apache/flume
- https://github.com/apache/flume/commit/dafb26ccb172141c6e14e95447e1b6ae38e9a7d0
- https://issues.apache.org/jira/browse/FLUME-3416
- https://lists.apache.org/thread/16nf6b81zjpdc4y93ho99oxo83ddbsvg
- https://nvd.nist.gov/vuln/detail/CVE-2022-25167