What’s Vulnerable › Vulnerabilities
CVE-2024-42482: fish-shop/syntax-check Improper Neutralization of Delimiters
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-12 · updated 2026-06-17
- Weakness: CWE-140
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.
Affected products
- fish-shop syntax-check: before 1.6.12 — fixed in 1.6.12
How to fix
Upgrade to a fixed version: fish-shop syntax-check 1.6.12. Check the vendor advisory for mitigations.
References
- https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029b036a53b03
- https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ee7d6f49ca
- https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88w2
Get alerted when CVE-2024-42482 or the next vulnerability affects your stack