Vulnerability · Published Aug 12, 2024 · Assigned by GitHub_M
CVE-2024-42482fish-shop/syntax-check Improper Neutralization of Delimiters
Medium 4.8
In plain English
A medium-severity security flaw in syntax-check from fish-shop. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| fish-shop | syntax-check | < 1.6.12 |
Weakness: CWE-140 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88w2 x_refsource_CONFIRM
- https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029b036a53b03 x_refsource_MISC
- https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ee7d6f49ca x_refsource_MISC