{"answers":{"affected":"3 open source packages ship an affected version, including scaly.","exploited":"There is no known exploitation of GHSA-2c6h-4899-wjxr in the wild and no public exploit code.","fix":"No fix has been published for GHSA-2c6h-4899-wjxr yet. Limit exposure of the affected software until one is available.","what":"GHSA-2c6h-4899-wjxr is a memory corruption vulnerability in scaly, published on 19 Jan 2026."},"fix_prompt":"Check this codebase for GHSA-2c6h-4899-wjxr and fix it if it is affected.\n\nWhat it is: GHSA-2c6h-4899-wjxr is a memory corruption vulnerability in scaly, published on 19 Jan 2026. \nExploitation: There is no known exploitation of GHSA-2c6h-4899-wjxr in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- scaly (crates.io): affected all versions up to 0.0.37; no fix listed\n- scaly (crates.io): affected all versions up to 0.0.37; no fix listed\n- scaly (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-2c6h-4899-wjxr/ (Markdown: https://insights.sbomify.com/GHSA-2c6h-4899-wjxr/index.md)","id":"GHSA-2c6h-4899-wjxr","markdown":"https://insights.sbomify.com/GHSA-2c6h-4899-wjxr/index.md","name":"GHSA-2c6h-4899-wjxr","record":{"aliases":["RUSTSEC-2026-0080"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution","denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust scaly library","requires_auth":"none","summary":"Safe APIs in the unmaintained scaly Rust library allow out-of-bounds reads and writes, potentially leading to memory corruption or crashes.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Affected versions contain multiple safe APIs that can trigger undefined\nbehavior:\n\n- `Array\u003cT\u003e::index` can perform an out-of-bounds read.\n- `String::get_length` can perform an out-of-bounds read.\n- `String::append_character` can perform an invalid write.\n- `String::to_c_string` can perform an out-of-bounds write.\n\nThese issues were reproduced against `scaly` 0.0.37 under Miri. And the crate is unmaintained.","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":"Multiple soundness issues in `scaly` safe APIs","id":"GHSA-2c6h-4899-wjxr","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.0.37"],"package":"scaly","purl":null,"source":"GHSA-2c6h-4899-wjxr"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.0.37"],"package":"scaly","purl":"pkg:cargo/scaly","source":"GHSA-2c6h-4899-wjxr"},{"ecosystem":"crates.io","fixed":[],"introduced":["0.0.0-0"],"last_affected":[],"package":"scaly","purl":"pkg:cargo/scaly","source":"RUSTSEC-2026-0080"}],"products":null,"published":"2026-01-19","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":"Safe APIs in the unmaintained scaly Rust library allow out-of-bounds reads and writes, potentially leading to memory corruption or crashes.","url":"https://insights.sbomify.com/GHSA-2c6h-4899-wjxr/"}