# Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile.

Advisory record · `GHSA-fj7f-vq84-fh43`

- **Identifiers:** `GHSA-fj7f-vq84-fh43` · `CVE-2021-43809`
- **State:** Confirmed
- **Severity:** CVSS 6.7 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-88](https://cwe.mitre.org/data/definitions/88.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md)
- **Published:** 8 Dec 2021
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 Dec 2021, 19:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `bundler` (RubyGems): affected `<2.2.33`; fixed in `2.2.33`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.7 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.029, the 87th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 8 Dec 2021, 18:50 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2021-43809)
- 8 Dec 2021, 19:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2021-43809)

## Sources

- [GitHub Advisory Database: GHSA-fj7f-vq84-fh43](https://github.com/advisories/GHSA-fj7f-vq84-fh43)
- [OSV: GHSA-fj7f-vq84-fh43](https://osv.dev/vulnerability/GHSA-fj7f-vq84-fh43)
- <https://github.com/rubygems/rubygems/security/advisories/GHSA-fj7f-vq84-fh43>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-43809>
- <https://github.com/rubygems/rubygems/pull/5142>
- <https://github.com/rubygems/rubygems/commit/0fad1ccfe9dd7a3c5b82c1496df3c2b4842870d3>
- <https://github.com/rubygems/rubygems/commit/a4f2f8ac17e6ce81c689527a8b6f14381060d95f>
- <https://github.com/rubygems/rubygems>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2021-43809.yml>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html>
- <https://www.sonarsource.com/blog/securing-developer-tools-package-managers>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-fj7f-vq84-fh43>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-fj7f-vq84-fh43/>. Everything for agents: <https://agentprime.io/llms.txt>.
