Vulnerability · Published Jun 14, 2022 · Assigned by apache

CVE-2022-25167Apache Flume vulnerable to a JNDI RCE in JMSSource

Critical 9.8

In plain English

A critical-severity improper input validation in Apache Flume from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.4% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)5.4%top 7.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.flume.flume-ng-sources:flume-jms-source1.10.0GHSA-x5m7-rwfx-w7qm

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Flume flume-jms-source – before 1.10.0

Weakness: CWE-20, CWE-74

References