CVE-2021-28035Stack Dst Project Stack Dst
Critical 9.8 No auth needed
Follow: this CVE · Stack Dst Project · Stack Dst Project Stack Dst We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Mar 5, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-908
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in the stack_dst crate before 0.6.1 for Rust. Because of the push_inner behavior, a drop of uninitialized memory can occur upon a val.clone() panic.
What to do
- Apply the vendor's security update for Stack Dst.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | stack_dst |
< 0.6.1 |
0.6.1 |
cargo update -p stack_dst --precise 0.6.1 |
| crates.io | stack_dst |
< 0.6.1 |
0.6.1 |
cargo update -p stack_dst --precise 0.6.1 |
| crates.io | stack_dst |
≥ 0.0.0-0 < 0.6.1 |
0.6.1 |
cargo update -p stack_dst --precise 0.6.1 |
Per OSV / GitHub Advisories (GHSA-45w7-7g63-2m5w, GHSA-8mjx-h23h-w2pg, RUSTSEC-2021-0033). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| stack_dst_project | stack_dst | < 0.6.1 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Patch Third Party Advisory