CVE-2021-45680 Out-of-bounds Write in vec-const
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An issue was discovered in the vec-const crate before 2.0.0 for Rust. It tries to construct a Vec from a pointer to a const slice, leading to memory corruption.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io vec-const(crates.io) | < 2.0.0; >= 0.0.0-0, < 2.0.0 | 2.0.0 | Fixed |
| vec-const project vec-const | < 2.0.0 | 2.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io vec-const(crates.io) | < 2.0.0 | 2.0.0 |
| crates.io vec-const(crates.io) | >= 0.0.0-0, < 2.0.0 | 2.0.0 |
| vec-const project vec-const | < 2.0.0 | 2.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- raw.githubusercontent.com third-party-advisory
- rustsec.org third-party-advisory vendor-advisory
- github.com issue-tracking
- github.com
- github.com
- crates.io product