remarshal-project/remarshal · Security
Remarshal expands YAML alias nodes unlimitedly, hence Remarshal is vulnerable to Billion Laughs Attack
- GHSA ID
- GHSA-gw7g-qr8w-3448
- CVE ID
- CVE-2023-47163
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
Remarshal prior to v0.17.1 expands YAML alias nodes unlimitedly, hence Remarshal is vulnerable to Billion Laughs Attack. Processing untrusted YAML files may cause a denial-of-service (DoS) condition.
CWEs
- CWE-400 · Uncontrolled Resource Consumption
- CWE-674 · Uncontrolled Recursion
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-47163 ↗
- https://github.com/remarshal-project/remarshal/commit/fd6ac799a02f533c3fc243b49cdd6d21aa7ee494 ↗
- https://github.com/remarshal-project/remarshal/releases/tag/v0.17.1 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/remarshal/PYSEC-2023-236.yaml ↗
- https://jvn.jp/en/jp/JVN86156389 ↗
- https://github.com/advisories/GHSA-gw7g-qr8w-3448 ↗