Skip to content
Heist/ feed
Back to feed
Medium

fish-shop/syntax-check Improper Neutralization of Delimiters

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-42482
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:10 UTC · Revision 1

Source evidence

fish-shop/syntax-check Improper Neutralization of Delimiters

core-osv · Original source

Published 12 Aug 2024, 15:35 UTC

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.

osv:CVE-2024-42482
Complete source record
{
  "id": "ef5c1bd55e66509809e054897bff1ed5d62d6e5d9c79bd715e8abfeccfa4040a",
  "url": "https://osv.dev/vulnerability/CVE-2024-42482",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "fish-shop/syntax-check Improper Neutralization of Delimiters",
    "summary": "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.",
    "evidence": "osv:CVE-2024-42482",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-42482",
      "aliases": [
        "CVE-2024-42482",
        "GHSA-xj87-mqvh-88w2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/fish-shop/syntax-check",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "91e6817c48ad475542fe4e78139029b036a53b03"
                },
                {
                  "fixed": "c2cb11395e21119ff8d6e7ea050430ee7d6f49ca"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:fish-shop:syntax-check:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.6.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "91e6817c48ad475542fe4e78139029b036a53b03"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c2cb11395e21119ff8d6e7ea050430ee7d6f49ca"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.6.11",
            "v1.6.10",
            "v1.6.9",
            "v1.6.8",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.2",
            "v1.5",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.4",
            "v1.3.1",
            "v1.3",
            "v1.3.0",
            "v1.2.0",
            "v1.2",
            "v1.1.0",
            "v1.1",
            "v1.0.1",
            "v1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42482.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.236970859Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42482.json",
        "https://github.com/fish-shop/syntax-check/security/advisories/GHSA-xj87-mqvh-88w2",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-42482",
        "https://github.com/fish-shop/syntax-check/commit/91e6817c48ad475542fe4e78139029b036a53b03",
        "https://github.com/fish-shop/syntax-check/commit/c2cb11395e21119ff8d6e7ea050430ee7d6f49ca"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-140"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42482.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-42482",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508923,
  "published_at": "2024-08-12T15:35:57.157+00:00"
}