CVE-2021-26954
MEDIUM 5.3CVSS 3.1insert_slice_clone can double drop if Clone panics.
An issue was discovered in the qwutils crate before 0.3.1 for Rust. When a Clone panic occurs, insert_slice_clone can perform a double drop.
- Published
- 9 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-415
- Also known as
- GHSA-68p4-pjpf-xwcqRUSTSEC-2021-0018
- Sources
- NVDJSONOSV GHSA-68p4-pjpf-xwcqJSONOSV RUSTSEC-2021-0018JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | qwutils_project | qwutilscpe:2.3:a:qwutils_project:qwutils:*:*:*:*:*:rust:*:* |
< 0.3.1 | 0.3.1 |
| OSV | crates.io | qwutils | < 0.3.1 | 0.3.1 |
| OSV | crates.io | qwutils | >= 0.0.0-0, < 0.3.1 | 0.3.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0018.html · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-26954 · ADVISORY
- https://github.com/qwertz19281/rust_utils/issues/3 · WEB, REPORT
- https://github.com/qwertz19281/rust_utils/commit/20cb73d · WEB
- https://github.com/qwertz19281/rust_utils · PACKAGE
- https://crates.io/crates/qwutils · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Feb 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Feb 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)