GHSA-39vw-qp34-rmwf json
Uncontrolled recursion leads to abort in deserialization
published 8y ago modified 3y ago also RUSTSEC-2018-0005
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io serde_yaml 0.8.4
- github.com/dtolnay/serde-yaml@b93aff6 commit
- github.com/dtolnay/serde-yaml#105 pull request
Is GHSA-39vw-qp34-rmwf in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | serde_yaml | >=0.6.0-rc1, <0.8.4 |
0.8.4 |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
Sources
- GitHub Advisory GHSA-39vw-qp34-rmwf
- OSV RUSTSEC-2018-0005
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.