GitHub Advisoryadvisory · Maven

GHSA-v54f-xcmp-43cr Deserialization of Untrusted Data in Apache ShardingSphere

HIGH Published 2022-02-10 Modified 2021-04-26 Official page ↗
Aliases
CVE-2020-1947
Ecosystem
Maven
Packages
org.apache.shardingsphere:shardingsphere
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-502
Reviewed
2021-04-26

Affected packages

• Maven org.apache.shardingsphere:shardingsphere: >= 4.0.0-RC3, < 4.0.1 → fixed in 4.0.1

Description

In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere&#39;s web console uses the SnakeYAML library for parsing YAML inputs to load datasource configuration. SnakeYAML allows to unmarshal data to a Java type By using the YAML tag. Unmarshalling untrusted data can lead to security flaws of RCE.

Related

Alias · CVE (1)

  • CVE-2020-1947 In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere's web console uses the SnakeYAML library for parsing YAML… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References