Skip to content
Fencer Vulns
critical 9.8

CVE-2022-34916 json

Improper Input Validation (JNDI Injection) in JMSMessageConsumer

published 2022-08-21 4 y ago modified 2026-06-17 4 mo ago also GHSA-h9mh-mgpv-gqmv , EUVD-2022-6565

cvss
9.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.flume.flume-ng-sources:flume-jms-source 1.10.1
  • Apache Software Foundation Apache Flume 1.11.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-34916 updated cvss 8.1

flume: JNDI Injection in JMSMessageConsumer

  • Red Hat A-MQ Clients 2 flume Red Hat Data Grid 8 flume Red Hat JBoss Data Grid 7 flume Red Hat JBoss Enterprise Application Platform 7 flume-ng-core Red Hat JBoss Enterprise Application Platform Expansion Pack flume-ng-core Red Hat streams for Apache Kafka flume
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.03% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven org.apache.flume.flume-ng-sources:flume-jms-source
>=1.4.0, <1.10.1
1.10.1

Affected products

  • Apache Software Foundation Apache Flume

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.