{"id":"CVE-2021-30181","published":"2021-05-29T07:30:12Z","modified":"2024-08-03T22:24:59Z","title":"Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)","vendor":"Apache Software Foundation","product":"Apache Dubbo","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Dubbo","versions":[">= Apache Dubbo 2.7.x, < 2.7.9",">= Apache Dubbo 2.6.x, < 2.6.9"]}],"description":{"text":"Apache Dubbo prior to 2.6.9 and 2.7.9 supports Script routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these rules, Dubbo customers use ScriptEngine and run the rule provided by the script which by default may enable executing arbitrary code.","provenance":"source","from":"CVE.org"},"summary":{"text":"Apache Dubbo versions prior to 2.6.9 and 2.7.9 contain a flaw in the Script routing feature, where routing rules are evaluated through a ScriptEngine (Nashorn) that by default permits arbitrary code execution. An attacker who can supply or poison a Script routing rule consumed by a Dubbo customer can cause that customer to run attacker-controlled code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:23:55Z"},"cvss":null,"epss":{"score":0.60858,"percentile":0.99152,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/re22410dc704a09bc7032ddf15140cf5e7df3e8ece390fc9032ff5587%40%3Cdev.dubbo.apache.org%3E","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"com.alibaba:dubbo","vulnerableRanges":[">=2.5.0, <2.6.9"],"patched":["2.6.9"],"from":["GHSA-qmfc-6www-fjqw"],"provenance":"source"},{"ecosystem":"Maven","package":"org.apache.dubbo:dubbo","vulnerableRanges":[">=2.5.0, <2.7.10"],"patched":["2.7.10"],"from":["GHSA-qmfc-6www-fjqw"],"provenance":"source"}],"advisories":[{"id":"GHSA-qmfc-6www-fjqw","url":"https://github.com/advisories/GHSA-qmfc-6www-fjqw","severity":"CRITICAL","ecosystem":"Maven","package":"com.alibaba:dubbo","vulnerableRanges":[">=2.5.0, <2.6.9"],"patched":["2.6.9"],"provenance":"source","from":"GHSA"},{"id":"GHSA-qmfc-6www-fjqw","url":"https://github.com/advisories/GHSA-qmfc-6www-fjqw","severity":"CRITICAL","ecosystem":"Maven","package":"org.apache.dubbo:dubbo","vulnerableRanges":[">=2.5.0, <2.7.10"],"patched":["2.7.10"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-1521","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1521","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-05-29","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-30181","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":19.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.83,"detail":"percentile 0.9915"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}