{"answers":{"affected":"2 open source packages ship an affected version, including @floffah/build.","exploited":"There is no known exploitation of GHSA-jcgr-9698-82jx in the wild and no public exploit code.","fix":"Upgrade @floffah/build to 1.0.0 or later.","what":"GHSA-jcgr-9698-82jx is a command injection vulnerability in @floffah/build, published on 28 May 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-jcgr-9698-82jx and fix it if it is affected.\n\nWhat it is: GHSA-jcgr-9698-82jx is a command injection vulnerability in @floffah/build, published on 28 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-jcgr-9698-82jx in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @floffah/build (npm): affected all versions; fixed in 1.0.0\n- @floffah/build (npm): affected all versions; fixed in 1.0.0\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-jcgr-9698-82jx/ (Markdown: https://insights.sbomify.com/GHSA-jcgr-9698-82jx/index.md)","id":"GHSA-jcgr-9698-82jx","markdown":"https://insights.sbomify.com/GHSA-jcgr-9698-82jx/index.md","name":"GHSA-jcgr-9698-82jx","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"npm build tool","requires_auth":"none","summary":"Attackers can inject malicious commands via esbuild targets in @floffah/build, potentially compromising project settings and executing code.","user_interaction":"not_required","vuln_class":"command_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\nIf you are using the esbuild target or command you are at risk of code/option injection. Attackers can use the command line option to maliciously change your settings in order to damage your project.\n\n### Patches\nThe problem has been patched in v1.0.0 as it uses a proper method to pass configs to esbuild/estrella.\n\n### Workarounds\nThere is no work around. You should update asap.\n\n### Notes\nThis notice is mainly just to make sure people update to the latest version. This isn't that bad, but should encourage you to update.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in @floffah/build","id":"GHSA-jcgr-9698-82jx","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2021"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"npm","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"@floffah/build","purl":null,"source":"GHSA-jcgr-9698-82jx"},{"ecosystem":"npm","fixed":["1.0.0"],"introduced":["0"],"last_affected":[],"package":"@floffah/build","purl":"pkg:npm/%40floffah/build","source":"GHSA-jcgr-9698-82jx"}],"products":null,"published":"2021-05-28","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 inject malicious commands via esbuild targets in @floffah/build, potentially compromising project settings and executing code.","url":"https://insights.sbomify.com/GHSA-jcgr-9698-82jx/"}