GitHub Advisory Database
GHSA-gw7g-qr8w-3448
Remarshal expands YAML alias nodes unlimitedly, hence Remarshal is vulnerable to Billion Laughs Attack
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | remarshal | All versions before 0.17.1 (fixed in 0.17.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-47163
- https://github.com/remarshal-project/remarshal/commit/fd6ac799a02f533c3fc243b49cdd6d21aa7ee494
- https://github.com/pypa/advisory-database/tree/main/vulns/remarshal/PYSEC-2023-236.yaml
- https://github.com/remarshal-project/remarshal
- https://github.com/remarshal-project/remarshal/releases/tag/v0.17.1
- https://jvn.jp/en/jp/JVN86156389