GHSA-pr59-jjr4-gcf6 Lack of sufficient checks in public API
Unsound API checks in the unmaintained anon-vec crate allow memory corruption, potentially leading to code execution or crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- None listed
What is GHSA-pr59-jjr4-gcf6?
GHSA-pr59-jjr4-gcf6 is a memory corruption vulnerability in anon-vec, published on 6 May 2025.
Official description
The following functions in the anon-vec crate are unsound due to insufficient checks on their arguments::
AnonVec::get_ref()AnonVec::get_mut()AnonVec::remove_get()
The crate was built as a learning project and is not being maintained.
Which versions are affected by GHSA-pr59-jjr4-gcf6?
3 open source packages ship an affected version, including anon-vec.
| Package | Affected | Fixed in |
|---|---|---|
anon-vec crates.io | All versions to 0.1.1 | None |
anon-vec crates.io | All versions to 0.1.1 | None |
anon-vec crates.io | From 0.0.0-0 | None |
How do I fix GHSA-pr59-jjr4-gcf6?
No fix has been published for GHSA-pr59-jjr4-gcf6 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is GHSA-pr59-jjr4-gcf6 being exploited?
There is no known exploitation of GHSA-pr59-jjr4-gcf6 in the wild and no public exploit code.
Sources
Also known as RUSTSEC-2025-0039.