Live threats

All CVEs / Apache

CVE-2023-28754Apache Shardingsphere

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
Jul 19, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Shardingsphere.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.shardingsphere:shardingsphere < 5.4.0 5.4.0 —

Per OSV / GitHub Advisories (GHSA-3cxh-xp3g-jxjm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apacheshardingsphere< 5.4.0

Official sources

References

Links published by the sources. Open them with care.