This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate plotters

Dependencies

(11 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 chrono^0.4.110.4.19up to date
 num-traits^0.2.110.2.14up to date
 plotters-backend0.3.*0.3.0up to date
 plotters-bitmap0.3.*0.3.0up to date
 plotters-svg0.3.*0.3.0up to date
 font-kit^0.7.00.10.0out of date
 image^0.23.40.23.14insecure
 lazy_static^1.4.01.4.0up to date
 rusttype^0.8.20.9.2out of date
 wasm-bindgen^0.2.620.2.73up to date
 web-sys^0.3.390.3.50up to date

Dev dependencies

(8 total, 4 outdated)

CrateRequiredLatestStatus
 criterion^0.3.20.3.4up to date
 itertools^0.9.00.10.0out of date
 plotters-bitmap0.3.*0.3.0up to date
 rand^0.7.30.8.3out of date
 rand_distr^0.2.20.4.0out of date
 rand_xorshift^0.2.00.3.0out of date
 rayon^1.3.01.5.0up to date
 wasm-bindgen-test^0.3.120.3.23up to date

Security Vulnerabilities

image: Mutable reference with immutable provenance

RUSTSEC-2020-0073

A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.

There is no evidence for miscompilation, exploitable or otherwise, caused by this bug. Further investigation on Zulip suggests that the unoptimized generated LLVM IR does not contain any UB itself, effectively mitigating further effects.