GHSA-pr59-jjr4-gcf6: Anon vec Anon-vec Lacks Sufficient Checks Vulnerability
LOWGHSA-pr59-jjr4-gcf6 is a LOW anon-vec lacks sufficient checks vulnerability (CWE-20: Improper Input Validation) affecting Anon vec libraries in the crates.io ecosystem. The issue involves anon-vec lacks sufficient checks in public api. Remediation is available in the latest vendor maintenance releases.
GHSA-pr59-jjr4-gcf6 at a Glance
How to Fix GHSA-pr59-jjr4-gcf6
To remediate this vulnerability, upgrade all affected Anon vec dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade anon-vec to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for anon-vec
How to Check if You Are Affected
To determine whether your application is affected by GHSA-pr59-jjr4-gcf6, inspect your project dependencies for Anon vec:
inspect dependencies for anon-vec
Analyze the terminal output to locate any version of Anon vec in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Anon vec, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-pr59-jjr4-gcf6 Affected Anon vec Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
anon-vec
|
crates.io |
≤ 0.1.1
|
|
References
Frequently Asked Questions
What is GHSA-pr59-jjr4-gcf6?
Which Anon vec versions are affected?
What version fixes GHSA-pr59-jjr4-gcf6?
Is anon-vec affected?
What CWE is associated with GHSA-pr59-jjr4-gcf6?
How can I check crates.io dependencies for GHSA-pr59-jjr4-gcf6?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pr59-jjr4-gcf6",
"modified" : "2025-06-05T00:39:55Z",
"published" : "2025-06-05T00:39:55Z",
"aliases" : [ ],
"summary" : "anon-vec lacks sufficient checks in public API",
"details" : "The following functions in the anon-vec crate are unsound due to insufficient checks on their arguments::\n\n- `AnonVec::get_ref()`\n- `AnonVec::get_mut()`\n- `AnonVec::remove_get()`\n\nThe crate was built as a learning project and is not being maintained.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "anon-vec"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/RylanYancey/anon-vec"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0039.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-05T00:39:55Z",
"nvd_published_at" : null
}
}