{"answers":{"affected":"3 open source packages ship an affected version, including users.","exploited":"There is no known exploitation of GHSA-jcr6-4frq-9gjj in the wild and no public exploit code.","fix":"No fix has been published for GHSA-jcr6-4frq-9gjj yet. Limit exposure of the affected software until one is available.","what":"GHSA-jcr6-4frq-9gjj is a memory corruption vulnerability in users, published on 10 Sep 2023."},"fix_prompt":"Check this codebase for GHSA-jcr6-4frq-9gjj and fix it if it is affected.\n\nWhat it is: GHSA-jcr6-4frq-9gjj is a memory corruption vulnerability in users, published on 10 Sep 2023. \nExploitation: There is no known exploitation of GHSA-jcr6-4frq-9gjj in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- users (crates.io): affected all versions up to 0.11.0; no fix listed\n- users (crates.io): affected all versions up to 0.11.0; no fix listed\n- users (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-jcr6-4frq-9gjj/ (Markdown: https://insights.sbomify.com/GHSA-jcr6-4frq-9gjj/index.md)","id":"GHSA-jcr6-4frq-9gjj","markdown":"https://insights.sbomify.com/GHSA-jcr6-4frq-9gjj/index.md","name":"GHSA-jcr6-4frq-9gjj","record":{"aliases":["RUSTSEC-2023-0059"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"unknown","non_default_config":false,"product_category":"Rust users crate","requires_auth":"none","summary":"An unaligned pointer dereference in the users crate causes undefined behavior, potentially leading to application crashes or panics.","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 dereference a potentially unaligned pointer. The pointer is commonly unaligned in practice, resulting in undefined behavior.\n\nIn some build modes, this is observable as a panic followed by abort. In other build modes the UB may manifest in some other way, including the possibility of working correctly in some architectures.\n\nThe crate is not currently maintained, so a patched version is not available.\n\n## Recommended alternatives\n- [`uzers`](https://crates.io/crates/uzers) (an actively maintained fork of the `users` crate)\n- [`sysinfo`](https://crates.io/crates/sysinfo)","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":"Users vulnerable to unaligned read of `*const *const c_char` pointer","id":"GHSA-jcr6-4frq-9gjj","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.11.0"],"package":"users","purl":null,"source":"GHSA-jcr6-4frq-9gjj"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.11.0"],"package":"users","purl":"pkg:cargo/users","source":"GHSA-jcr6-4frq-9gjj"},{"ecosystem":"crates.io","fixed":[],"introduced":["0.0.0-0"],"last_affected":[],"package":"users","purl":"pkg:cargo/users","source":"RUSTSEC-2023-0059"}],"products":null,"published":"2023-09-10","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":"An unaligned pointer dereference in the users crate causes undefined behavior, potentially leading to application crashes or panics.","url":"https://insights.sbomify.com/GHSA-jcr6-4frq-9gjj/"}