🛡️ CVE-2024-42482 — syntax-check
Description
fish-shop/syntax-check Improper Neutralization of Delimiters
Impact
Improper neutralisation 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.
Patches
As of this writing, the issue has been patched for versions in the v1.x.x release series in release v1.6.12 (also tagged as v1.6 and v1). The latest available release v2.0.0 also includes a corresponding patch (also tagged as v2.0 and v2).
Users should upgrade to at least the patched version v1.6.12 or preferably the latest available version v2.0.0. Workflows that use the action ref v1 will automatically receive the patched version v1.6.12 in future workflow runs.
Patch summary:
| Release series | Patched tags | Patched commit hashes |
|----------------|-------------------------|-------------|
| 1.x.x | v1.6.12, v1.6, v1 | 91e6817c48ad475542fe4e78139029b036a53b03 |
| 2.x.x | v2.0.0, v2.0, v2 | c2cb11395e21119ff8d6e7ea050430ee7d6f49ca |
Workarounds
Is it 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.
References
- [CWE-140: Improper Neutralization of Delimiters](https://cwe.mitre.org/data/definitions/140.html)
- [CAPEC-15: Command Delimiters](https://capec.mitre.org/data/definitions/15.html)
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is high, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity low, availability none.
Weakness class
CVE-2024-42482 is classified as CWE-140: Improper Neutralization of Delimiters. The product does not neutralize or incorrectly neutralizes delimiters.
Affected software
CVE-2024-42482 is recorded against 2 packages.
- fish-shop/syntax-check (fixed in 1.6.12)
- syntax-check (fixed in 1.6.12)
Timeline and source
Published on 12 August 2024. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.
References
github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Package)
Details
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| fish-shop/syntax-check | — | 1.6.12 |
| syntax-check | — | 1.6.12 |
References
Vulnerability Monitoring
Track new vulnerabilities in syntax-check
CVE-2024-42482 is rated CVSS 4.8 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.