CVE-2021-25900
An issue was discovered in the smallvec crate before 0.6.14 and 1.x be ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Ubuntu (medium).
Description
An issue was discovered in the smallvec crate before 0.6.14 and 1.x before 1.6.1 for Rust. There is a heap-based buffer overflow in SmallVec::insert_many.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | smallvec | 0.6.14, 1.6.1 |
| debian 10 | rust-smallvec | no fix listed |
| debian 11 | rust-smallvec | 1.4.2-2 |
| debian 12 | rust-smallvec | 1.4.2-2 |
| debian 13 | rust-smallvec | 1.4.2-2 |
| debian 14 | rust-smallvec | 1.4.2-2 |
| echo | rust-smallvec | 1.4.2-2 |
| ubuntu 20.04-ESM | rust-smallvec | no fix listed |
| ubuntu 22.04 | rust-smallvec | no fix listed |
| ubuntu 24.04 | rust-smallvec | no fix listed |
| ubuntu 26.04 | rust-smallvec | no fix listed |
| ubuntu 26.10 | rust-smallvec | no fix listed |
References
- https://github.com/servo/rust-smallvec
- https://github.com/servo/rust-smallvec/commit/5757ac500d4e544485d796b542e4e589749c291b
- https://github.com/servo/rust-smallvec/commit/9998ba0694a6b51aa6604748b00b6a98f0a0039e
- https://github.com/servo/rust-smallvec/issues/252
- https://nvd.nist.gov/vuln/detail/CVE-2021-25900
- https://rustsec.org/advisories/RUSTSEC-2021-0003.html
- https://www.cve.org/CVERecord?id=CVE-2021-25900