Classic Buffer Overflow Affecting zerovec package, versions <0.9.7>=0.10.0 <0.10.4


Severity

Recommended
0.0
medium
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-ZEROVEC-7430914
  • published9 Jul 2024
  • disclosed8 Jul 2024
  • creditUnknown

Introduced: 8 Jul 2024

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

How to fix?

Upgrade zerovec to version 0.9.7, 0.10.4 or higher.

Overview

Affected versions of this package are vulnerable to Classic Buffer Overflow due to the incorrect use of #[repr(packed)]. An attacker can cause illegal memory accesses by exploiting the lack of guaranteed field order in memory layout.

CVSS Scores

version 4.0
version 3.1