Incorrect Conversion between Numeric Types Affecting buck2 package, versions <20240701-r2


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.4% (74th 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-WOLFILATEST-BUCK2-7575579
  • published31 Jul 2024
  • disclosed8 Aug 2021

Introduced: 8 Aug 2021

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

How to fix?

Upgrade Wolfi buck2 to version 20240701-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream buck2 package and not the buck2 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

An issue was discovered in the anymap crate through 0.12.1 for Rust. It violates soundness via conversion of a *u8 to a *u64.

CVSS Scores

version 3.1