GHSA-pr59-jjr4-gcf6: Anon vec Anon-vec Lacks Sufficient Checks Vulnerability

LOW
CWE-20
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-pr59-jjr4-gcf6
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Anon vec
Package Ecosystem crates.io
Published Date
Last Updated

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.

anon-vec fixed: Latest secure release
Upgrade anon-vec to Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
GHSA-pr59-jjr4-gcf6 is a security vulnerability in Anon vec involving anon-vec lacks sufficient checks in public API under CWE-20: Improper Input Validation.
Which Anon vec versions are affected?
Affected versions include releases prior to current release patches across affected packages: anon-vec.
What version fixes GHSA-pr59-jjr4-gcf6?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is anon-vec affected?
Yes, anon-vec is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-pr59-jjr4-gcf6?
GHSA-pr59-jjr4-gcf6 is classified under CWE-20: Improper Input Validation (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.).
How can I check crates.io dependencies for GHSA-pr59-jjr4-gcf6?
Run the dependency tree command: 'inspect dependencies for anon-vec'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}