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.
rv(10 total, 6 outdated, 1 possibly insecure)
| Crate | Required | Latest | Status | 
|---|---|---|---|
| doc-comment | ^0.3 | 0.3.4 | up to date | 
| getset | ^0.0.7 | 0.1.6 | out of date | 
| nalgebra ⚠️ | ^0.18 | 0.34.1 | out of date | 
| num | ^0.2 | 0.4.3 | out of date | 
| once_cell | ^1 | 1.21.3 | up to date | 
| rand | ^0.7 | 0.9.2 | out of date | 
| rand_distr | ^0.2 | 0.5.1 | out of date | 
| serde | ^1 | 1.0.228 | up to date | 
| serde_derive | ^1 | 1.0.228 | up to date | 
| special | ^0.8 | 0.11.4 | out of date | 
(4 total, 3 outdated, 1 possibly insecure)
| Crate | Required | Latest | Status | 
|---|---|---|---|
| assert | ^0.7 | 0.7.5 | up to date | 
| criterion | ^0.2 | 0.7.0 | out of date | 
| indoc | ^0.3 | 2.0.7 | out of date | 
| serde_yaml ⚠️ | ^0.8 | 0.9.34+deprecated | 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.
nalgebra: VecStorage Deserialize Allows Violation of Length InvariantThe Deserialize implementation for VecStorage did not maintain the invariant that the number of elements must equal nrows * ncols. Deserialization of specially crafted inputs could allow memory access beyond allocation of the vector.
This flaw was introduced in v0.11.0 (086e6e) due to the addition of an automatically derived implementation of Deserialize for MatrixVec. MatrixVec was later renamed to VecStorage in v0.16.13 (0f66403) and continued to use the automatically derived implementation of Deserialize.
This flaw was corrected in commit 5bff536 by returning an error during deserialization if the number of elements does not exactly match the expected size.