CVE-2021-43809

HIGHNVD 7.37.3
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

This high-severity CVE scores 7.3 under NVD CVSS v3. EPSS exploit probability: 2.9% (86th percentile of EPSS-scored CVEs). GitHub Security Advisory CVSS 6.7 is lower than this score; a lower GitHub score revises it only when its advisory is newer than the CVE record's last change, and this advisory (published 2021-12-08) is not newer than that change (2026-11-02), so it does not.

Triggered by: Headline CVSS from NVD CVSS v3
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 5 sources updated this week

Also known asEUVD-2021-2513 (ENISA EUVD) · GHSA-fj7f-vq84-fh43 (GitHub Security Advisories)Source: ENISA EUVD

7.3EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 2.9%CVSS: 7.3Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

Bundler is a package for managing application dependencies in Ruby. In bundler versions before 2.2.33, when working with untrusted and apparently harmless Gemfile's, it is not expected that they lead to execution of external code, unless that's explicit in the ruby code inside the Gemfile itself. However, if the Gemfile includes gem entries that use the git option with invalid, but seemingly harmless, values with a leading dash, this can be false. To handle dependencies that come from a Git repository instead of a registry, Bundler uses various commands, such as git clone. These commands are being constructed using user input (e.g. the repository URL). When building the commands, Bundler versions before 2.2.33 correctly avoid Command Injection vulnerabilities by passing an array of arguments instead of a command string. However, there is the possibility that a user input starts with a dash (-) and is therefore treated as an optional argument instead of a positional one. This can lead to Code Execution because some of the commands have options that can be leveraged to run arbitrary executables. Since this value comes from the Gemfile file, it can contain any character, including a leading dash.

To exploit this vulnerability, an attacker has to craft a directory containing a Gemfile file that declares a dependency that is located in a Git repository. This dependency has to have a Git URL in the form of -u./payload. This URL will be used to construct a Git clone command but will be interpreted as the upload-pack argument. Then this directory needs to be shared with the victim, who then needs to run a command that evaluates the Gemfile, such as bundle lock, inside.

This vulnerability can lead to Arbitrary Code Execution, which could potentially lead to the takeover of the system. However, the exploitability is very low, because it requires a lot of user interaction. Bundler 2.2.33 has patched this problem by inserting -- as an argument before any positional arguments to those Git commands that were affected by this issue. Regardless of whether users can upgrade or not, they should review any untrustred Gemfile's before running any bundler commands that may read them, since they can contain arbitrary ruby code.

CVSS v3
7.3
EG Score
7.3HIGHmedium confidence
EG Risk
34
EG Risk 34/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity73% × 45%
Impact severity (EG Severity): CVSS 7.3 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation2.9% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at every mission impact level.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
2.9%
EPSS %ILE
86th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (7.3): severity, escalated by confirmed exploitation. This CVE's 7.3 is its impact severity (EG Severity), not escalated.

EG Severity
7.3 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.NVD CVSS v3 · CVSS v3.0 or v3.1
EG Likelihood
2.9% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-02). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at every mission impact level.CISA BOD 26-04: 60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at every mission impact level.

A fix is available. Apply it within your standard update timelines.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)60 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

December 8, 2021

Last Modified

November 2, 2026

Advisory Details (6)

Auto-updated Nov 2, 2026
Patch available. Sources: github, github_pr, github_commit.
Web pageMentions a patch (unverified)

[SECURITY] [DLA 4163-1] rubygems security update

https://lists.debian.org/debian-lts-announce/2025/05/msg00015.html
Web page

Securing Developer Tools: Package Managers | Sonar

https://www.sonarsource.com/blog/securing-developer-tools-package-managers/
GitHub commit Patch Available

commit a4f2f8ac17e6 (rubygems/rubygems)

Patch available: rubygems/rubygems bundler-v4.0.7 (contains commit a4f2f8ac17e6)

https://github.com/rubygems/rubygems/commit/a4f2f8ac17e6ce81c689527a8b6f14381060d95f
GitHub commit Patch Available

commit 0fad1ccfe9dd (rubygems/rubygems)

Patch available: rubygems/rubygems bundler-v4.0.7 (contains commit 0fad1ccfe9dd)

https://github.com/rubygems/rubygems/commit/0fad1ccfe9dd7a3c5b82c1496df3c2b4842870d3
GitHub pull request Patch Available

Pass "--" to git commands to separate positional and optional args

Patch available: rubygems/rubygems bundler-v4.0.7 (PR #5142 merged 2021-12-07)

https://github.com/rubygems/rubygems/pull/5142
GitHub advisoryMentions a patch (unverified)

Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile · Advisory · ruby/rubygems · GitHub

https://github.com/rubygems/rubygems/security/advisories/GHSA-fj7f-vq84-fh43

Vendor Advisories for CVE-2021-43809(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(2)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
redhatruby:2.5-8100020250506105643.489197e62025-05-14redhat
rubygemsbundler @ 2.2.33 (fixes < 2.2.33)—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(6 across 6 ecosystems)
Alpine:v3.15(1)
PackageVulnerable rangeFix by version rangeDependents
ruby-bundler—
  • every version up to 2.2.33-r0: fixed in 2.2.33-r0
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
rubygems3.2.5-2
  • every version up to 3.2.5-2+deb11u1: fixed in 3.2.5-2+deb11u1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
rubygems—
  • every version up to 3.3.5-1: fixed in 3.3.5-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
rubygems—
  • every version up to 3.3.5-1: fixed in 3.3.5-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
rubygems—
  • every version up to 3.3.5-1: fixed in 3.3.5-1
—
RubyGems(1)
PackageVulnerable rangeFix by version rangeDependents
bundler0.3.0 ... 2.2.9 (317 versions)
  • every version up to 2.2.33: fixed in 2.2.33
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 14× in last 7d / 43× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 96 of 216 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 4 repeat rows among the latest 100 are merged into the row they repeat. The 120 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-02 19:28 UTCEG score recompute▲ 0.60
  2. 2026-11-02 19:28 UTCVendor advisory
  3. 2026-11-02 19:28 UTCGHSA enrichmentGHSA-fj7f-vq84-fh43 · GitHub severity MODERATE · GitHub CVSS 6.7
  4. 2026-11-02 19:26 UTCNVD updateCVSS v3 → 7.3 · severity → HIGH
  5. 2026-11-02 18:23 UTCEG score recompute
  6. 2026-11-02 18:23 UTCVendor advisory
  7. 2026-11-02 18:23 UTCGHSA enrichmentGHSA-fj7f-vq84-fh43 · GitHub severity MODERATE · GitHub CVSS 6.7
  8. 2026-11-01 08:30 UTCGHSA enrichmentGHSA-fj7f-vq84-fh43 · GitHub severity MODERATE · GitHub CVSS 6.7
  9. 2026-11-01 08:30 UTCEG score recompute
  10. 2026-10-31 16:29 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  11. 2026-10-30 16:30 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  12. 2026-10-29 16:29 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  13. 2026-10-28 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  14. 2026-10-27 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  15. 2026-10-26 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  16. 2026-10-25 18:20 UTCEG score recompute
  17. 2026-10-25 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  18. 2026-10-24 22:23 UTCEG score recompute
  19. 2026-10-24 22:23 UTCVendor advisory
  20. 2026-10-24 16:29 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  21. 2026-10-23 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  22. 2026-10-22 16:29 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  23. 2026-10-21 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  24. 2026-10-20 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  25. 2026-10-19 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
Show 71 more
  1. 2026-10-18 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  2. 2026-10-18 08:52 UTCEG score recompute
  3. 2026-10-17 16:29 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  4. 2026-10-17 13:55 UTCOSV refresh
  5. 2026-10-16 16:34 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  6. 2026-10-15 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  7. 2026-10-14 16:29 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  8. 2026-10-13 16:28 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  9. 2026-10-12 19:08 UTCEG score recompute
  10. 2026-10-12 16:30 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  11. 2026-10-11 23:33 UTCEG score recompute
  12. 2026-10-11 13:44 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  13. 2026-10-10 19:56 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  14. 2026-10-09 20:04 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  15. 2026-10-08 16:40 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  16. 2026-10-07 23:45 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  17. 2026-10-06 15:14 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  18. 2026-10-05 17:40 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  19. 2026-10-03 14:22 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  20. 2026-10-02 16:23 UTCEPSS rescoreEPSS 2.9% · 86th percentile
  21. 2026-10-01 19:46 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  22. 2026-09-30 15:43 UTCEG score recompute
  23. 2026-09-30 15:00 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  24. 2026-09-29 15:15 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  25. 2026-09-28 13:47 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  26. 2026-09-27 13:41 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  27. 2026-09-26 15:54 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  28. 2026-09-26 00:21 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  29. 2026-09-25 10:36 UTCOSV refresh
  30. 2026-09-24 14:00 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  31. 2026-09-23 13:44 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  32. 2026-09-22 14:44 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  33. 2026-09-21 20:28 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  34. 2026-09-20 20:13 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  35. 2026-09-19 15:38 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  36. 2026-09-18 19:23 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  37. 2026-09-17 19:23 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  38. 2026-09-16 14:05 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  39. 2026-09-15 03:06 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  40. 2026-09-12 14:57 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  41. 2026-09-11 14:49 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  42. 2026-09-11 09:33 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  43. 2026-09-08 21:56 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  44. 2026-09-07 15:58 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  45. 2026-09-06 13:45 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  46. 2026-09-06 02:00 UTCOSV refresh
  47. 2026-09-05 15:25 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  48. 2026-09-04 13:57 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  49. 2026-09-04 05:03 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  50. 2026-09-02 14:09 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  51. 2026-09-01 13:50 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  52. 2026-09-01 03:33 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  53. 2026-08-30 19:14 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  54. 2026-08-30 01:19 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  55. 2026-08-28 21:37 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  56. 2026-08-27 14:22 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  57. 2026-08-26 14:43 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  58. 2026-08-25 13:46 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  59. 2026-08-24 14:13 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  60. 2026-08-23 00:16 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  61. 2026-08-21 23:46 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  62. 2026-08-20 22:52 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  63. 2026-08-19 17:01 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  64. 2026-08-19 13:29 UTCOSV refresh
  65. 2026-08-18 13:45 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  66. 2026-08-17 13:44 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  67. 2026-08-16 14:53 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  68. 2026-08-16 02:11 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  69. 2026-08-15 01:27 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  70. 2026-08-13 21:57 UTCEPSS rescoreEPSS 2.8% · 85th percentile
  71. 2026-08-12 13:48 UTCEPSS rescoreEPSS 2.8% · 85th percentile

Frequently asked(5)

What is CVE-2021-43809?
CVE-2021-43809 is a high-severity vulnerability; its CVE record was published on December 8, 2021. Bundler is a package for managing application dependencies in Ruby. In bundler versions before 2.2.33, when working with untrusted and apparently harmless Gemfile's, it is not expected that they lead to execution of external code, unless that's explicit in the ruby code inside the Gemfile itself.…
When was the CVE record for CVE-2021-43809 published?
The CVE record for CVE-2021-43809 was published on December 8, 2021. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of November 2, 2026; the record at its source may have been updated since.
Is CVE-2021-43809 actively exploited?
CVE-2021-43809 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 2.9% probability of exploitation in the next 30 days (86th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-43809?
CVE-2021-43809 has a CVSS v3 base score of 7.3 (NVD).
How do I remediate CVE-2021-43809?
A fix for CVE-2021-43809 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2021-43809 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-43809

Explore →

Is Your Infrastructure Affected by CVE-2021-43809?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.