GitHub Advisoryadvisory · crates.io
GHSA-39vw-qp34-rmwf Uncontrolled recursion leads to abort in deserialization
MEDIUM
Official page ↗
- Ecosystem
- crates.io
- Packages
- serde_yaml
- Severity
- Moderate
- Weaknesses
- CWE-674
- Reviewed
- 2021-08-06
Affected packages
• crates.io serde_yaml: >= 0.6.0-rc1, < 0.8.4 → fixed in 0.8.4
Description
Affected versions of this crate did not properly check for recursion while deserializing aliases. This allows an attacker to make a YAML file with an alias referring to itself causing an abort. The flaw was corrected by checking the recursion depth.
Related
Weakness · CWE (1)
- CWE-674 Uncontrolled Recursion weakness