Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-jf5h-cf95-w759: Optional `Deserialize` implementations lacking validation

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).
  • Panics due to failed assertions.

See https://github.com/gz/rust-cpuid/issues/43.

ghsa
#git

Optional `Deserialize` implementations lacking validation

Moderate severity GitHub Reviewed Published Jun 17, 2022 • Updated Jun 17, 2022

ghsa: Latest News

GHSA-27wf-5967-98gx: Kubernetes kubelet arbitrary command execution