{"answers":{"affected":"2 open source packages ship an affected version, including rlespinasse/github-slug-action.","exploited":"There is no known exploitation of GHSA-7f32-hm4h-w77q in the wild and no public exploit code.","fix":"Upgrade rlespinasse/github-slug-action to a fixed version for your release line: 1.1.1 or 2.1.1.","what":"GHSA-7f32-hm4h-w77q is a code injection vulnerability in rlespinasse/github-slug-action, published on 3 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-7f32-hm4h-w77q and fix it if it is affected.\n\nWhat it is: GHSA-7f32-hm4h-w77q is a code injection vulnerability in rlespinasse/github-slug-action, published on 3 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-7f32-hm4h-w77q in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rlespinasse/github-slug-action (GitHub Actions): affected all versions; fixed in 1.1.1\n- rlespinasse/github-slug-action (GitHub Actions): affected from 2.0.0; fixed in 2.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-7f32-hm4h-w77q/ (Markdown: https://insights.sbomify.com/GHSA-7f32-hm4h-w77q/index.md)","id":"GHSA-7f32-hm4h-w77q","markdown":"https://insights.sbomify.com/GHSA-7f32-hm4h-w77q/index.md","name":"GHSA-7f32-hm4h-w77q","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GitHub Actions","requires_auth":"none","summary":"Attackers can execute arbitrary code by injecting commands via stdout in the github-slug-action GitHub Action.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\nThis GitHub Action use `set-env` runner commands which are processed via stdout related to GHSA-mfwh-5m23-j46w\n\n### Patches\nThe following versions use the recommended [Environment File Syntax](https://github.com/actions/toolkit/blob/main/docs/commands.md#environment-files).\n\n- 2.1.1\n- 1.1.1\n\n### Workarounds\nNone, it is strongly suggested that you upgrade as soon as possible.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [rlespinasse/github-slug-action](https://github.com/rlespinasse/github-slug-action)","ecosystems":["GitHub Actions"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"github-slug-action use of `set-env` Runner commands which are processed via stdout","id":"GHSA-7f32-hm4h-w77q","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"GitHub Actions","product":null,"products":[],"type":"code_injection","year":"2024"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"GitHub Actions","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"rlespinasse/github-slug-action","purl":null,"source":"GHSA-7f32-hm4h-w77q"},{"ecosystem":"GitHub Actions","fixed":["2.1.1"],"introduced":["2.0.0"],"last_affected":[],"package":"rlespinasse/github-slug-action","purl":null,"source":"GHSA-7f32-hm4h-w77q"}],"products":null,"published":"2024-02-03","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can execute arbitrary code by injecting commands via stdout in the github-slug-action GitHub Action.","url":"https://insights.sbomify.com/GHSA-7f32-hm4h-w77q/"}