GHSA-v54f-xcmp-43cr

Suggest an improvement
Source
https://github.com/advisories/GHSA-v54f-xcmp-43cr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-v54f-xcmp-43cr/GHSA-v54f-xcmp-43cr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v54f-xcmp-43cr
Aliases
Published
2022-02-10T20:39:47Z
Modified
2023-11-08T04:02:46.619106Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Deserialization of Untrusted Data in Apache ShardingSphere
Details

In Apache ShardingSphere(incubator) 4.0.0-RC3 and 4.0.0, the ShardingSphere'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.

Database specific
{
    "nvd_published_at": "2020-03-11T21:15:00Z",
    "github_reviewed_at": "2021-04-26T14:48:19Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

Maven / org.apache.shardingsphere:shardingsphere

Package

Name
org.apache.shardingsphere:shardingsphere
View open source insights on deps.dev
Purl
pkg:maven/org.apache.shardingsphere/shardingsphere

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-RC3
Fixed
4.0.1

Affected versions

4.*

4.0.0-RC3
4.0.0

Database specific

{
    "last_known_affected_version_range": "<= 4.0.0"
}