Out-of-bounds Write Affecting rust-stackvector package, versions <1.0.6-3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.03% (59th 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-DEBIAN12-RUSTSTACKVECTOR-1559029
  • published3 Apr 2021
  • disclosed1 Apr 2021

Introduced: 1 Apr 2021

CVE-2021-29939  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:12 rust-stackvector to version 1.0.6-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-stackvector package and not the rust-stackvector package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

An issue was discovered in the stackvector crate through 2021-02-19 for Rust. There is an out-of-bounds write in StackVec::extend if size_hint provides certain anomalous data.

CVSS Base Scores

version 3.1