VYPR
High severityNVD Advisory· Published Apr 1, 2021· Updated Aug 3, 2024

CVE-2021-29931

CVE-2021-29931

Description

An issue was discovered in the arenavec crate through 2021-01-12 for Rust. A double drop can sometimes occur upon a panic in T::drop().

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A panic safety bug in the arenavec Rust crate causes double drop of types, leading to memory corruption and potential denial of service.

The arenavec Rust crate through version 2021-01-12 contains a panic safety vulnerability in functions such as Slice::new and SliceVec::resize_with. When a panic occurs during T::default() or T::drop() within these functions, the crate may drop uninitialized memory or perform a double drop of a value, violating memory safety guarantees [1][2].

Exploitation of this vulnerability requires triggering a panic while the crate's operations are in progress. The CVSS score of 7.5 (High) indicates the attack vector is network-based, with low complexity and no privileges required, though user interaction is not needed [3]. Attackers who can cause a controlled panic, such as through unexpected input, can exploit this unsafe behavior.

Successful exploitation leads to memory corruption, potentially enabling a denial of service. According to the RustSec advisory, no patched version of the crate exists, so users should avoid using this crate or apply alternative mitigations [2].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
arenaveccrates.io
<= 0.1.1

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.