Classic Buffer Overflow Affecting zerovec-derive package, versions >=0.0.0


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-ZEROVECDERIVE-7430915
  • 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-derive to version 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.

References

CVSS Scores

version 4.0
version 3.1