{"id":"CVE-2023-28754","published":"2023-07-19T07:15:31Z","modified":"2025-02-13T16:48:51Z","title":"ShardingSphere-Agent: Deserialization vulnerability in ShardingSphere Agent","vendor":"Apache","product":"ShardingSphere-Agent","tier":"tail","description":{"text":"Deserialization of Untrusted Data vulnerability in Apache ShardingSphere-Agent, which allows attackers to execute arbitrary code by constructing a special YAML configuration file.\n\nThe attacker needs to have permission to modify the ShardingSphere Agent YAML configuration file on the target machine, and the target machine can access the URL with the arbitrary code JAR.\nAn attacker can use SnakeYAML to deserialize java.net.URLClassLoader and make it load a JAR from a specified URL, and then deserialize javax.script.ScriptEngineManager to load code using that ClassLoader. When the ShardingSphere JVM process starts and uses the ShardingSphere-Agent, the arbitrary code specified by the attacker will be executed during the deserialization of the YAML configuration file by the Agent.\n\nThis issue affects ShardingSphere-Agent: through 5.3.2. This vulnerability is fixed in Apache ShardingSphere 5.4.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01458,"percentile":0.74169,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://lists.apache.org/thread/p8onhqox5kkwow9lc6gs03z28wtyp1cg","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/19/3","tags":[]}],"priority":{"score":21.0,"factors":[{"name":"EPSS percentile","points":14.83},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"ShardingSphere-Agent","versions":["<= 5.3.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-10-02T18:17:44.024349Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.shardingsphere:shardingsphere","vulnerableRanges":["<5.4.0"],"patched":["5.4.0"],"from":["GHSA-3cxh-xp3g-jxjm"],"provenance":"source"}],"summary":{"text":"The ShardingSphere-Agent component of Apache ShardingSphere contains a deserialization of untrusted data flaw, triggered when the Agent processes a specially constructed YAML configuration file. An attacker who can modify that YAML configuration file on the target machine, and whose target machine can reach a URL hosting the attacker's JAR, can achieve arbitrary code execution when the ShardingSphere JVM process starts and the Agent deserializes the file, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:06:53Z"},"euvd":{"id":"EUVD-2023-1936","exploited":false,"provenance":"source"}}