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.
This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.
fluent-bundle(7 total, 5 outdated, 1 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| fluent-langneg | ^0.12 | 0.14.2 | out of date |
| fluent-syntax | ^0.9 | 0.12.0 | out of date |
| intl-memoizer | ^0.2 | 0.5.3 | out of date |
| intl_pluralrules | ^6.0 | 7.0.2 | out of date |
| rental | ^0.5 | 0.5.6 | up to date |
| smallvec ⚠️ | ^1.1 | 1.15.1 | maybe insecure |
| unic-langid | ^0.8 | 0.9.6 | out of date |
(5 total, 4 outdated, 1 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| criterion | ^0.3 | 0.7.0 | out of date |
| rand | ^0.7 | 0.9.2 | out of date |
| serde | ^1.0 | 1.0.228 | up to date |
| serde_yaml ⚠️ | ^0.8 | 0.9.34+deprecated | out of date |
| unic-langid | ^0.8 | 0.9.6 | out of date |
serde_yaml: Uncontrolled recursion leads to abort in deserializationAffected 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.
smallvec: Buffer overflow in SmallVec::insert_manyA bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.
This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.
The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.
Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.