CVE-2023-28754

ShardingSphere-Agent: Deserialization vulnerability in ShardingSphere Agent

Description

Deserialization of Untrusted Data vulnerability in Apache ShardingSphere-Agent, which allows attackers to execute arbitrary code by constructing a special YAML configuration file. The 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. An 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. This issue affects ShardingSphere-Agent: through 5.3.2. This vulnerability is fixed in Apache ShardingSphere 5.4.0.

Category

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.23%
Vendor Advisory apache.org
Affected: Apache Software Foundation ShardingSphere-Agent
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-28754?
CVE-2023-28754 has been scored as a high severity vulnerability.
How to fix CVE-2023-28754?
To fix CVE-2023-28754, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-28754 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-28754 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-28754?
CVE-2023-28754 affects Apache Software Foundation ShardingSphere-Agent.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.