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 splines

Dependencies

(6 total, 2 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 alga^0.90.9.3up to date
 cgmath^0.170.18.0out of date
 nalgebra ⚠️>=0.14, <0.200.32.4out of date
 num-traits^0.20.2.18up to date
 serde^11.0.197up to date
 serde_derive^11.0.197up to date

Dev dependencies

(2 total, 1 outdated)

CrateRequiredLatestStatus
 float-cmp^0.50.9.0out of date
 serde_json^11.0.115up 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.