9.8critical
Improper Input Validation (JNDI Injection) in JMSMessageConsumer
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 2.69% (higher than 87% of CVEs)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-h9mh-mgpv-gqmv
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Flume | from flume-jms-source before 1.11.0 | CVE List |
| org.apache.flume.flume-ng-sources:flume-jms-source (Maven) | from 1.4.0 before 1.10.1 | GitHub Advisory Database |
| apache flume | from 1.4.0 before 1.10.1 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
Apache Flume versiones 1.4.0 hasta 1.10.0, son vulnerables a un ataque de ejecución de código remota (RCE) cuando una configuración usa una fuente JMS con un URI de fuente de datos JNDI LDAP cuando un atacante presenta control del servidor LDAP de destino. Este problema es corregido al limitar JNDI para permitir sólo el uso del protocolo java o ningún protocolo.
References
| https://issues.apache.org/jira/browse/FLUME-3428 | issue-tracking, vendor-advisory, web | |
| https://lists.apache.org/thread/qkmt4r2t9tbrxrdbjg1m2oczbvczd9zn | mailing-list, patch, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-34916 | advisory | |
| https://github.com/apache/flume/commit/7fe9af49c485756e1b618493a5bc00b70d7fbd2d | web | |
| https://github.com/apache/flume | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-34916 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h9mh-mgpv-gqmv changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-34916 changed 2026-06-17 | Public domain |