GHSA-rc23-xxgq-x27g: Wee alloc Wee_alloc Is Unmaintained Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-rc23-xxgq-x27g is a CRITICAL wee_alloc is unmaintained vulnerability (General Security Weakness) affecting Wee alloc libraries in the crates.io ecosystem. The issue involves wee_alloc is unmaintained. Remediation is available in the latest vendor maintenance releases.

GHSA-rc23-xxgq-x27g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-rc23-xxgq-x27g
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Wee alloc
Package Ecosystem crates.io
Published Date
Last Updated

How to Fix GHSA-rc23-xxgq-x27g

To remediate this vulnerability, upgrade all affected Wee alloc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

wee_alloc fixed: Latest secure release
Upgrade wee_alloc 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 wee_alloc

How to Check if You Are Affected

To determine whether your application is affected by GHSA-rc23-xxgq-x27g, inspect your project dependencies for Wee alloc:

inspect dependencies for wee_alloc

Analyze the terminal output to locate any version of Wee alloc 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 General Security Weakness. In Wee alloc, 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

Two of the maintainers have indicated that the crate may not be maintained. The crate has open issues including memory leaks and may not be suitable for production use. It may be best to switch to the default Rust standard allocator on wasm32 targets. Last release seems to have been three years ago.

GHSA-rc23-xxgq-x27g Affected Wee alloc Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
wee_alloc
crates.io

References

Frequently Asked Questions

What is GHSA-rc23-xxgq-x27g?
GHSA-rc23-xxgq-x27g is a security vulnerability in Wee alloc involving wee_alloc is Unmaintained under General Security Weakness.
Which Wee alloc versions are affected?
Affected versions include releases prior to current release patches across affected packages: wee_alloc.
What version fixes GHSA-rc23-xxgq-x27g?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is wee_alloc affected?
Yes, wee_alloc is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-rc23-xxgq-x27g?
GHSA-rc23-xxgq-x27g is classified under General Security Weakness.
How can I check crates.io dependencies for GHSA-rc23-xxgq-x27g?
Run the dependency tree command: 'inspect dependencies for wee_alloc'. 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-rc23-xxgq-x27g",
  "modified" : "2022-09-16T17:18:28Z",
  "published" : "2022-09-16T17:18:28Z",
  "aliases" : [ ],
  "summary" : "wee_alloc is Unmaintained",
  "details" : "Two of the maintainers have indicated that the crate may not be maintained.\n\nThe crate has open issues including memory leaks and may not be suitable for production use.\n\nIt may be best to switch to the default Rust standard allocator on wasm32 targets.\n\nLast release seems to have been three years ago.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "crates.io",
      "name" : "wee_alloc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/rustwasm/wee_alloc/issues/107"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rustwasm/wee_alloc"
  }, {
    "type" : "WEB",
    "url" : "https://rustsec.org/advisories/RUSTSEC-2022-0054.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-09-16T17:18:28Z",
    "nvd_published_at" : null
  }
}