You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When activating the non-default feature serialize, most structs implement serde::Deserialize without sufficient validation. This allows breaking
invariants in safe code, leading to:
Undefined behavior in as_string() methods (which use std::str::from_utf8_unchecked() internally).
raw-cpuid
9.1.1
<=3.1.0
When activating the non-default feature
serialize
, most structs implementserde::Deserialize
without sufficient validation. This allows breakinginvariants in safe code, leading to:
as_string()
methods (which usestd::str::from_utf8_unchecked()
internally).See gz/rust-cpuid#43.
A fix is not yet available, but most use cases do not require enabling
the
serialize
feature.See advisory page for additional details.
The text was updated successfully, but these errors were encountered: