Loading...
Skip to main content

CVE-2022-42468 — Vulnerability in...

CRITICAL

Apache Flume vulnerable to remote code execution via deserialization of unsafe providerURL

Published October 26, 2022Updated February 16, 2024Source: osv

Summary

Flume’s JMSSource class can be configured with a providerUrl parameter. A JNDI lookup is performed on this name without performing validation. This could result in untrusted data being deserialized, leading to remote code execution (RCE) attack when a configuration uses a JMS Source with an unsafe providerURL. This issue is fixed in version 1.11.0.

Advisory Timeline

  • First published October 26, 2022 (1447 days ago).
  • Last revised February 16, 2024 — 478 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.flume.flume-ng-sources:flume-jms-source to 1.11.0 or later
<!-- Update pom.xml dependency version to 1.11.0 for org.apache.flume.flume-ng-sources:flume-jms-source -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.flume.flume-ng-sources:flume-jms-source
maven
1.10.0, 1.10.1, 1.4.0, 1.5.0 (+7 more)1.11.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-20
    Improper Input ValidationMITRE
  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-42468?
Apache Flume vulnerable to remote code execution via deserialization of unsafe providerURL This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-42468?
CVE-2022-42468 affects org.apache.flume.flume-ng-sources:flume-jms-source. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-42468 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-9w4g-fp9h-3q2v

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies