CVE-2021-29939 Out of bounds write in stackvector
HighCVSS 7.3
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
11 packages: 5 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-stackvector(Ubuntu 20.04) | = 1.0.6-2; All versions | No fix listed | No fix yet |
| ubuntu/rust-stackvector(Ubuntu 22.04) | = 1.0.6-3; = 1.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-stackvector(Ubuntu 24.04) | = 1.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-stackvector(Ubuntu 25.10) | = 1.1.1-1; All versions | No fix listed | No fix yet |
| ubuntu/rust-stackvector(Ubuntu 26.04) | = 1.1.1-1; = 1.1.1-1build1; All versions | No fix listed | No fix yet |
| ubuntu/rust-stackvector(Ubuntu 26.10) | = 1.1.1-1build1; All versions | No fix listed | No fix yet |
| crates.io stackvector(crates.io) | < 1.0.9; >= 0.0.0-0, < 1.0.9 | 1.0.9 | Fixed |
| debian/rust-stackvector(Debian 12) | < 1.0.6-3 | 1.0.6-3 | Fixed |
| debian/rust-stackvector(Debian 13) | < 1.0.6-3 | 1.0.6-3 | Fixed |
| debian/rust-stackvector(Debian 14) | < 1.0.6-3 | 1.0.6-3 | Fixed |
| stackvector project stackvector | < 1.0.9 | 1.0.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io stackvector(crates.io) | < 1.0.9 | 1.0.9 |
| crates.io stackvector(crates.io) | >= 0.0.0-0, < 1.0.9 | 1.0.9 |
| debian/rust-stackvector(Debian:12) | < 1.0.6-3 | 1.0.6-3 |
| debian/rust-stackvector(Debian:13) | < 1.0.6-3 | 1.0.6-3 |
| debian/rust-stackvector(Debian:14) | < 1.0.6-3 | 1.0.6-3 |
| ubuntu/rust-stackvector(Ubuntu:22.04) | All versions | No fix listed |
| stackvector project stackvector | < 1.0.9 | 1.0.9 |
| ubuntu/rust-stackvector(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:20.04) | = 1.0.6-2 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:22.04) | = 1.0.6-3 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:22.04) | = 1.1.1-1 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:24.04) | = 1.1.1-1 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:25.10) | = 1.1.1-1 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:26.10) | = 1.1.1-1build1 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:26.04) | = 1.1.1-1 | No fix listed |
| ubuntu/rust-stackvector(Ubuntu:26.04) | = 1.1.1-1build1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking
- rustsec.org exploit issue-tracking vendor-advisory
- github.com
- github.com product
- crates.io product
- Debian Security Tracker CVE-2021-29939 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking