{"answers":{"affected":"3 open source packages ship an affected version, including linkme.","exploited":"There is no known exploitation of GHSA-f95p-4cv5-8w8x in the wild and no public exploit code.","fix":"Upgrade linkme to 0.3.24 or later.","what":"GHSA-f95p-4cv5-8w8x is a vulnerability in linkme, published on 5 Mar 2024."},"fix_prompt":"Check this codebase for GHSA-f95p-4cv5-8w8x and fix it if it is affected.\n\nWhat it is: GHSA-f95p-4cv5-8w8x is a vulnerability in linkme, published on 5 Mar 2024. \nExploitation: There is no known exploitation of GHSA-f95p-4cv5-8w8x in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- linkme (crates.io): affected all versions; fixed in 0.3.24\n- linkme (crates.io): affected all versions; fixed in 0.3.24\n- linkme (crates.io): affected from 0.0.0-0; fixed in 0.3.24\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-f95p-4cv5-8w8x/ (Markdown: https://insights.sbomify.com/GHSA-f95p-4cv5-8w8x/index.md)","id":"GHSA-f95p-4cv5-8w8x","markdown":"https://insights.sbomify.com/GHSA-f95p-4cv5-8w8x/index.md","name":"GHSA-f95p-4cv5-8w8x","record":{"aliases":["RUSTSEC-2024-0407"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Affected versions allow populating a DistributedSlice of T with elements of an arbitrary other type that coerces to T. For example, elements of type `\u0026\u0026str` could end up in a slice of type `[\u0026str]`, since `\u0026\u0026str` coerces to `\u0026str` via a deref coercion.\n\nThe flaw was corrected by implementing typechecking for distributed slice elements in such a way that coercion no longer occurs. The element's type must be a subtype of the slice's declared element type.","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":true,"headline":"linkme fails to ensure slice elements match the slice's declared type","id":"GHSA-f95p-4cv5-8w8x","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2024"},"n_packages":3,"n_references":null,"packages":[{"ecosystem":"crates.io","fixed":["0.3.24"],"introduced":["0"],"last_affected":[],"package":"linkme","purl":null,"source":"GHSA-f95p-4cv5-8w8x"},{"ecosystem":"crates.io","fixed":["0.3.24"],"introduced":["0"],"last_affected":[],"package":"linkme","purl":"pkg:cargo/linkme","source":"GHSA-f95p-4cv5-8w8x"},{"ecosystem":"crates.io","fixed":["0.3.24"],"introduced":["0.0.0-0"],"last_affected":[],"package":"linkme","purl":"pkg:cargo/linkme","source":"RUSTSEC-2024-0407"}],"products":null,"published":"2024-03-05","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":null,"url":"https://insights.sbomify.com/GHSA-f95p-4cv5-8w8x/"}