Critical

Remote code execution in Apache Flume

  • Disclosed: 22.08.2022
  • Updated: 11.10.2026 11:21

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.flume.flume-ng-sources:flume-jms-source >= 1.4.0, < 1.10.1 1.10.1

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-20, CWE-74
Platform
Java / Kotlin (Maven)
Package
org.apache.flume.flume-ng-sources:flume-jms-source
Disclosed
22.08.2022
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h9mh-mgpv-gqmv - CC BY 4.0

Vulnerability history: org.apache.flume.flume-ng-sources:flume-jms-source

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
06.2022 10.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 1

Disclosures per year

  1. 2022: 3
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Remote code execution in Apache Flume this entry
    Critical · 9.8 CVE-2022-34916 >= 1.4.0, < 1.10.1 1.10.1
  2. High CVE-2022-25167 >= 1.4.0, < 1.10.0 1.10.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.