apache/flume · Security
Apache Flume vulnerable to remote code execution via deserialization of unsafe providerURL
- GHSA ID
- GHSA-9w4g-fp9h-3q2v
- CVE ID
- CVE-2022-42468
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-20 · Improper Input Validation
- CWE-502 · Deserialization of Untrusted Data
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-42468 ↗
- https://issues.apache.org/jira/browse/FLUME-3437 ↗
- https://lists.apache.org/thread/1ckhmp539zr2nd2rs45pocpywk2d9zvz ↗
- https://lists.apache.org/thread/939wkx8o90bp6m2ht3t1sdyo1ncypl78 ↗
- https://github.com/apache/flume/commit/eee179a09df405c1ab55ae25a53b76ca1050bb97 ↗
- https://github.com/advisories/GHSA-9w4g-fp9h-3q2v ↗