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.

Crate myelin-engine

Dependencies

(10 total, 3 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 myelin-geometry^2.42.4.3up to date
 nalgebra ⚠️^0.180.33.2out of date
 ncollide2d^0.200.33.0out of date
 serde^1.01.0.215up to date
 alga^0.90.9.3up to date
 nameof^1.01.2.2up to date
 mockiato^0.90.9.6up to date
 nearly_eq^0.20.2.4up to date
 slab^0.4.20.4.9up to date
 nphysics2d^0.120.24.0out of date

Dev dependencies

(2 total, all up-to-date)

CrateRequiredLatestStatus
 mockiato^0.90.9.6up to date
 nearly_eq^0.20.2.4up to date

Security Vulnerabilities

nalgebra: VecStorage Deserialize Allows Violation of Length Invariant

RUSTSEC-2021-0070

The 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.