{"id":"CVE-2022-42468","published":"2022-10-26T00:00:00Z","modified":"2025-05-07T13:53:00Z","title":"Apache Flume prior to 1.11.0 has an Improper Input Validation (JNDI Injection) in JMSSource","vendor":"Apache","product":"Apache Flume","tier":"tail","description":{"text":"Apache Flume versions 1.4.0 through 1.10.1 are vulnerable to a remote code execution (RCE) attack when a configuration uses a JMS Source with an unsafe providerURL. This issue is fixed by limiting JNDI to allow only the use of the java protocol or no protocol.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.03722,"percentile":0.89769,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://issues.apache.org/jira/browse/FLUME-3437","tags":[]},{"url":"https://lists.apache.org/thread/939wkx8o90bp6m2ht3t1sdyo1ncypl78","tags":[]},{"url":"https://lists.apache.org/thread/1ckhmp539zr2nd2rs45pocpywk2d9zvz","tags":[]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":17.95},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Flume","versions":[">= Flume JMSSource, < 1.11.0"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.flume.flume-ng-sources:flume-jms-source","vulnerableRanges":["<1.11.0"],"patched":["1.11.0"],"from":["GHSA-9w4g-fp9h-3q2v"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-7069","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-apache-flume-cve-2022-25167","parents":[{"from":"CVE-2022-34916","to":"CVE-2022-42468","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.flume.flume-ng-sources:flume-jms-source","fromFixed":"1.10.1","toFixed":"1.11.0","daysApart":66},{"kind":"same-code","provenance":"machine","files":["flume-ng-sources/flume-jms-source/src/main/java/org/apache/flume/source/jms/JMSMessageConsumer.java"],"commits":["https://github.com/apache/flume/commit/7fe9af49c485756e1b618493a5bc00b70d7fbd2d","https://github.com/apache/flume/commit/eee179a09df405c1ab55ae25a53b76ca1050bb97"],"basis":"shared function","functions":["JMSMessageConsumer","close"]},{"kind":"similar","provenance":"machine","score":0.74,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-25167","to":"CVE-2022-42468","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["flume-ng-sources/flume-jms-source/src/main/java/org/apache/flume/source/jms/JMSSource.java"],"commits":["https://github.com/apache/flume/commit/dafb26ccb172141c6e14e95447e1b6ae38e9a7d0","https://github.com/apache/flume/commit/eee179a09df405c1ab55ae25a53b76ca1050bb97"],"basis":"shared function","functions":["assertNotEmpty","doConfigure"]},{"kind":"similar","provenance":"machine","score":0.74,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-25167","published":"2022-06-14","fixed":"1.10.0","kev":false},{"cve":"CVE-2022-34916","published":"2022-08-21","fixed":"1.10.1","kev":false},{"cve":"CVE-2022-42468","published":"2022-10-26","fixed":"1.11.0","kev":false}],"package":"Maven:org.apache.flume.flume-ng-sources:flume-jms-source"}}