Out-of-Bounds Affecting zerovec-derive package, versions <0.9.7>=0.10.0 <0.10.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ZEROVECDERIVE-7430916
  • published9 Jul 2024
  • disclosed1 Jul 2024
  • creditUnknown

Introduced: 1 Jul 2024

CVE NOT AVAILABLE CWE-119  (opens in a new tab)

How to fix?

Upgrade zerovec-derive to version 0.9.7, 0.10.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds due to the incorrect assumption that #[repr(packed)] guarantees field order. An attacker can cause illegal memory accesses.

CVSS Scores

version 4.0
version 3.1