CVE-2021-28034 — Stack Dst
CRITICALCVE-2021-28034 is a critical-severity (CVSS 9.8) CWE-415 vulnerability in stack_dst_project stack dst. A fix is available — see the affected versions and patch details below.
An issue was discovered in the stack_dst crate before 0.6.1 for Rust. Because of the push_inner behavior, a double free can occur upon a val.clone() panic.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2021-28034 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,987 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Description
An issue was discovered in the stack_dst crate before 0.6.1 for Rust. Because of the push_inner behavior, a double free can occur upon a val.clone() panic.
Affected Products
stack dststack_dst_projectDetection & mitigation playbook
Vendor / applianceDetect
Inventory every stack_dst_project stack dst deployment and check each version against the affected-products list above.
Fix
Apply the stack_dst_project stack dst security patch or hotfix for CVE-2021-28034 on the affected version, following the vendor advisory for your exact build.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2021-28034 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.