{"answers":{"affected":"2 open source packages ship an affected version, including islandora/crayfish.","exploited":"There is no known exploitation of GHSA-c2p2-hgjg-9r3f in the wild and no public exploit code.","fix":"No fix has been published for GHSA-c2p2-hgjg-9r3f yet. Limit exposure of the affected software until one is available.","what":"GHSA-c2p2-hgjg-9r3f is a command injection vulnerability in islandora/crayfish, published on 12 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-c2p2-hgjg-9r3f and fix it if it is affected.\n\nWhat it is: GHSA-c2p2-hgjg-9r3f is a command injection vulnerability in islandora/crayfish, published on 12 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-c2p2-hgjg-9r3f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- islandora/crayfish (Packagist): affected all versions up to 4.0.0; no fix listed\n- islandora/crayfish (Packagist): affected all versions up to 4.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-c2p2-hgjg-9r3f/ (Markdown: https://insights.sbomify.com/GHSA-c2p2-hgjg-9r3f/index.md)","id":"GHSA-c2p2-hgjg-9r3f","markdown":"https://insights.sbomify.com/GHSA-c2p2-hgjg-9r3f/index.md","name":"GHSA-c2p2-hgjg-9r3f","record":{"aliases":[],"analysis":{"component_type":"server_software","fix_type":"workaround","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Crayfish hypercube microservice","requires_auth":"none","summary":"Remote attackers can execute arbitrary code on web-accessible Crayfish hypercube installations via the X-Islandora-Args header.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nRemote code execution is possible in web-accessible installations of hypercube. \n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nNot yet, though no patch is neccessary if your installation of the microservices is behind a firewall.  See below.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nThe exploit requires making a request against Hypercube's endpoints; therefore, the ability to make use of the exploit is much reduced if the microservice is not directly accessible from the Internet, so: Prevent general access from the Internet from hitting Hypercube.  Furthermore, if you've used any of the official installation methods, your Crayfish will be behind a firewall and there is no work neccessary.\n\nThe webserver might be made to validate the structure of headers passed, but that would only be neccessary if you publicly exposed the endpoint. Standard security practices should be applied.\n\n### References\n_Are there any links users can visit to find out more?_\n\n- XBOW-024-074","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Crayfish Allows Remote Code Execution via hypercube X-Islandora-Args Header","id":"GHSA-c2p2-hgjg-9r3f","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["4.0.0"],"package":"islandora/crayfish","purl":null,"source":"GHSA-c2p2-hgjg-9r3f"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["4.0.0"],"package":"islandora/crayfish","purl":"pkg:composer/islandora/crayfish","source":"GHSA-c2p2-hgjg-9r3f"}],"products":null,"published":"2025-02-12","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Remote attackers can execute arbitrary code on web-accessible Crayfish hypercube installations via the X-Islandora-Args header.","url":"https://insights.sbomify.com/GHSA-c2p2-hgjg-9r3f/"}