CVE-2022-34916
flume: JNDI Injection in JMSMessageConsumer
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
Description
Apache Flume versions 1.4.0 through 1.10.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.1 |
References
- https://access.redhat.com/security/cve/CVE-2022-34916
- https://github.com/apache/flume
- https://github.com/apache/flume/commit/7fe9af49c485756e1b618493a5bc00b70d7fbd2d
- https://issues.apache.org/jira/browse/FLUME-3428
- https://lists.apache.org/thread/qkmt4r2t9tbrxrdbjg1m2oczbvczd9zn
- https://nvd.nist.gov/vuln/detail/CVE-2022-34916
- https://www.cve.org/CVERecord?id=CVE-2022-34916