Vulnerability Description
fish-shop/syntax-check is a GitHub action for syntax checking fish shell files. Improper neutralization of delimiters in the `pattern` input (specifically the command separator `;` and command substitution characters `(` and `)`) mean that arbitrary command injection is possible by modification of the input value used in a workflow. This has the potential for exposure or exfiltration of sensitive information from the workflow runner, such as might be achieved by sending environment variables to an external entity. It is recommended that users update to the patched version `v1.6.12` or the latest release version `v2.0.0`, however remediation may be possible through careful control of workflows and the `pattern` input value used by this action.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Fish-Shop | Syntax-Check | < 1.6.12 |
Related Weaknesses (CWE)
References
- https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029bPatch
- https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ePatch
- https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88wVendor Advisory
FAQ
What is CVE-2024-42482?
CVE-2024-42482 is a vulnerability with a CVSS score of 4.8 (MEDIUM). fish-shop/syntax-check is a GitHub action for syntax checking fish shell files. Improper neutralization of delimiters in the `pattern` input (specifically the command separator `;` and command substit...
How severe is CVE-2024-42482?
CVE-2024-42482 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-42482?
Check the references section above for vendor advisories and patch information. Affected products include: Fish-Shop Syntax-Check.