Affected versions of this crate called Vec::reserve() on user-supplied input.
This allows an attacker to cause an Out of Memory condition while calling the vulnerable method on untrusted data.
sticker 0.9.0
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.
sticker
(13 total, 9 outdated, 2 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
conllx | ^0.12.1 | 0.12.1 | up to date |
failure | ^0.1 | 0.1.8 | up to date |
finalfusion | ^0.10.1 | 0.18.0 | out of date |
itertools | ^0.8 | 0.12.1 | out of date |
ndarray | ^0.12 | 0.15.6 | out of date |
ndarray-tensorflow | ^0.2 | 0.3.0 | out of date |
ordered-float ⚠️ | ^1 | 4.2.0 | out of date |
petgraph | ^0.4 | 0.6.4 | out of date |
protobuf ⚠️ | ^2 | 3.4.0 | out of date |
serde | ^1 | 1.0.198 | up to date |
serde_derive | ^1 | 1.0.198 | up to date |
sticker-tf-proto | ^0.7.0 | 0.11.0 | out of date |
tensorflow | ^0.13 | 0.21.0 | out of date |
(2 total, 2 outdated)
Crate | Required | Latest | Status |
---|---|---|---|
approx | ^0.3 | 0.5.1 | out of date |
flate2 | >=1.0.0, <1.0.10 | 1.0.28 | out of date |
protobuf
: Out of Memory in stream::read_raw_bytes_into()Affected versions of this crate called Vec::reserve() on user-supplied input.
This allows an attacker to cause an Out of Memory condition while calling the vulnerable method on untrusted data.
ordered-float
: ordered_float:NotNan may contain NaN after panic in assignment operatorsAfter using an assignment operators such as NotNan::add_assign
, NotNan::mul_assign
, etc., it was possible for the resulting NotNan
value to contain a NaN
. This could cause undefined behavior in safe code, because the safe NotNan::cmp
method contains internal unsafe code that assumes the value is never NaN
. (It could also cause undefined behavior in third-party unsafe code that makes the same assumption, as well as logic errors in safe code.)
This was mitigated starting in version 0.4.0, by panicking if the assigned value is NaN. However, in affected versions from 0.4.0 onward, code that uses the NotNan
value during unwinding, or that continues after catching the panic, could still observe the invalid value and trigger undefined behavior.
The flaw is fully corrected in versions 1.1.1 and 2.0.1, by ensuring that the assignment operators panic without modifying the operand, if the result would be NaN
.