Remarshal expands YAML alias nodes unlimitedly, hence Remarshal is vulnerable to Billion Laughs Attack
Date: 2023-11
Affected: pip/remarshal
Attack vector: dos
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2023-47163
CWE: CWE-400
CWE-674
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):