Incorrect Conversion Between Numeric Types Affecting anymap package, versions *


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.25% (66th 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 IDSNYK-RUST-ANYMAP-1912599
  • published7 Nov 2021
  • disclosed7 May 2021
  • creditUnknown

Introduced: 7 May 2021

CVE-2021-38187  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

anymap is an a safe and convenient store for one value of each type.

Affected versions of this package are vulnerable to Incorrect Conversion Between Numeric Types. Conversions between *u8 to a *u64 is unsafe because of different alignment.

CVSS Scores

version 3.1