SCA: security update for org.apache.shardingsphere:shardingsphere (GHSA-3cxh-xp3g-jxjm)

high Tenable Cloud Security Plugin ID 409468

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-28754)

See Also

https://github.com/advisories/GHSA-3cxh-xp3g-jxjm

Plugin Details

Severity: High

ID: 409468

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-28754

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/19/2023

Vulnerability Publication Date: 7/19/2023

Reference Information

CVE: CVE-2023-28754

cwe: CWE-502