CVE-2020-36327
Dependency Confusion in Bundler
Reported by mitre · Published April 29, 2021
bundler is fixed in 2.2.16 (RubyGems)
Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.16 sometimes chooses a dependency source based on the highest gem version number, which means that a rogue gem found at a public source may be chosen, even if the intended choice was a private gem that is a dependency of another private gem that is explicitly depended on by the application. NOTE: it is not correct to use CVE-2021-24105 for every "Dependency Confusion" issue in every product.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bundler | RubyGems | 2.2.16 |
| bundler | bundler | 2.2.16, 2.2.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| RubyGems | bundler | 1.16.0 |
| n/a | n/a | * |
| arch | ruby-bundler | 0 |
Timeline
- Apr 29, 2021 CVE Published
- Apr 29, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Security Advisory (10 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (7 in total, the first dated here)
- Aug 30, 2026 Coalition ESS Score
- Oct 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-36327
vulnetix vdb fixes CVE-2020-36327
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-36327/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2021-36cdab1f8d vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-36327 advisory