{"answers":{"affected":"3 open source packages ship an affected version, including wee_alloc.","exploited":"There is no known exploitation of GHSA-rc23-xxgq-x27g in the wild and no public exploit code.","fix":"No fix has been published for GHSA-rc23-xxgq-x27g yet. Limit exposure of the affected software until one is available.","what":"GHSA-rc23-xxgq-x27g is a vulnerability in wee_alloc, published on 11 May 2022."},"fix_prompt":"Check this codebase for GHSA-rc23-xxgq-x27g and fix it if it is affected.\n\nWhat it is: GHSA-rc23-xxgq-x27g is a vulnerability in wee_alloc, published on 11 May 2022. \nExploitation: There is no known exploitation of GHSA-rc23-xxgq-x27g in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- wee_alloc (crates.io): affected all versions; no fix listed\n- wee_alloc (crates.io): affected all versions; no fix listed\n- wee_alloc (crates.io): affected from 0.0.0-0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-rc23-xxgq-x27g/ (Markdown: https://insights.sbomify.com/GHSA-rc23-xxgq-x27g/index.md)","id":"GHSA-rc23-xxgq-x27g","markdown":"https://insights.sbomify.com/GHSA-rc23-xxgq-x27g/index.md","name":"GHSA-rc23-xxgq-x27g","record":{"aliases":["RUSTSEC-2022-0054"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust allocator library","requires_auth":"none","summary":"The wee_alloc crate is unmaintained and may cause memory leaks, prompting users to switch to the default Rust allocator.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.\n\n## Possible Alternative(s)\n\n The below list has not been vetted in any way and may or may not contain alternatives;\n\n - Rust standard [default allocator] on wasm32-target\n\n## Honorable Mention(s)\n\n The below may serve to educate on potential future alternatives:\n\n - [lol_alloc](https://crates.io/crates/lol_alloc)\n\n[default allocator]: https://github.com/alexcrichton/dlmalloc-rs","ecosystems":["crates.io"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"wee_alloc is Unmaintained","id":"GHSA-rc23-xxgq-x27g","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2022"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":[],"package":"wee_alloc","purl":null,"source":"GHSA-rc23-xxgq-x27g"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":[],"package":"wee_alloc","purl":"pkg:cargo/wee_alloc","source":"GHSA-rc23-xxgq-x27g"},{"ecosystem":"crates.io","fixed":[],"introduced":["0.0.0-0"],"last_affected":[],"package":"wee_alloc","purl":"pkg:cargo/wee_alloc","source":"RUSTSEC-2022-0054"}],"products":null,"published":"2022-05-11","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"The wee_alloc crate is unmaintained and may cause memory leaks, prompting users to switch to the default Rust allocator.","url":"https://insights.sbomify.com/GHSA-rc23-xxgq-x27g/"}