GHSA-c2p2-hgjg-9r3f: Islandora/crayfish Remote Code Execution Vulnerability
CRITICALGHSA-c2p2-hgjg-9r3f is a CRITICAL remote code execution vulnerability (CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences) affecting Islandora/crayfish libraries in the Packagist ecosystem. The issue involves crayfish allows remote code execution via hypercube x-islandora-args header. Remediation is available in the latest vendor maintenance releases.
GHSA-c2p2-hgjg-9r3f at a Glance
How to Fix GHSA-c2p2-hgjg-9r3f
To remediate this vulnerability, upgrade all affected Islandora/crayfish dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade islandora/crayfish to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for islandora/crayfish
How to Check if You Are Affected
To determine whether your application is affected by GHSA-c2p2-hgjg-9r3f, inspect your project dependencies for Islandora/crayfish:
inspect dependencies for islandora/crayfish
Analyze the terminal output to locate any version of Islandora/crayfish in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences, where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component. In Islandora/crayfish, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-c2p2-hgjg-9r3f Affected Islandora/crayfish Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
islandora/crayfish
|
Packagist |
≤ 4.0.0
|
|
References
Frequently Asked Questions
What is GHSA-c2p2-hgjg-9r3f?
Which Islandora/crayfish versions are affected?
What version fixes GHSA-c2p2-hgjg-9r3f?
Is islandora/crayfish affected?
What CWE is associated with GHSA-c2p2-hgjg-9r3f?
How can I check Packagist dependencies for GHSA-c2p2-hgjg-9r3f?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c2p2-hgjg-9r3f",
"modified" : "2025-02-12T21:05:47Z",
"published" : "2025-02-12T21:05:47Z",
"aliases" : [ ],
"summary" : "Crayfish Allows Remote Code Execution via hypercube X-Islandora-Args Header",
"details" : "### 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",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "islandora/crayfish"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "4.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Islandora/Crayfish/security/advisories/GHSA-c2p2-hgjg-9r3f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Islandora/Crayfish"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-150", "CWE-74" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-12T21:05:47Z",
"nvd_published_at" : null
}
}