Memory Corruption Affecting zeroize_derive package, versions <1.2.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.24% (63rd percentile)

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 Learn

Learn about Memory Corruption vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ZEROIZEDERIVE-1660188
  • published26 Sept 2021
  • disclosed24 Sept 2021
  • creditdaxpedda

Introduced: 24 Sep 2021

CVE-2021-45706  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade zeroize_derive to version 1.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Memory Corruption due to missing implementation of Drop when #[zeroize(drop)] is used on an enum.

CVSS Scores

version 3.1