gsd-2020-36327
Vulnerability from gsd
Modified
2020-09-30 00:00
Details
Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.17 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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2020-36327", "description": "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.", "id": "GSD-2020-36327", "references": [ "https://www.suse.com/security/cve/CVE-2020-36327.html", "https://access.redhat.com/errata/RHSA-2022:0708", "https://access.redhat.com/errata/RHSA-2022:0582", "https://access.redhat.com/errata/RHSA-2022:0581", "https://access.redhat.com/errata/RHSA-2022:0548", "https://access.redhat.com/errata/RHSA-2022:0547", "https://access.redhat.com/errata/RHSA-2022:0546", "https://access.redhat.com/errata/RHSA-2022:0545", "https://access.redhat.com/errata/RHSA-2022:0544", "https://access.redhat.com/errata/RHSA-2022:0543", "https://access.redhat.com/errata/RHSA-2021:3982", "https://access.redhat.com/errata/RHSA-2021:3559", "https://access.redhat.com/errata/RHSA-2021:3020", "https://advisories.mageia.org/CVE-2020-36327.html", "https://security.archlinux.org/CVE-2020-36327", "https://linux.oracle.com/cve/CVE-2020-36327.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "affected": [ { "package": { "ecosystem": "RubyGems", "name": "bundler", "purl": "pkg:gem/bundler" } } ], "aliases": [ "CVE-2020-36327", "GHSA-fp4w-jxhp-m23p" ], "details": "Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.17 sometimes chooses a\ndependency source based on the highest gem version number, which means that a\nrogue gem found at a public source may be chosen, even if the intended choice\nwas a private gem that is a dependency of another private gem that is\nexplicitly depended on by the application.\n", "id": "GSD-2020-36327", "modified": "2020-09-30T00:00:00.000Z", "published": "2020-09-30T00:00:00.000Z", "references": [ { "type": "WEB", "url": "https://github.com/rubygems/rubygems/issues/3982" }, { "type": "WEB", "url": "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html" }, { "type": "WEB", "url": "https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/" }, { "type": "WEB", "url": "https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/" }, { "type": "WEB", "url": "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105" }, { "type": "WEB", "url": "https://github.com/rubygems/rubygems/pull/4609" } ], "related": [ "CVE-2021-24105" ], "schema_version": "1.4.0", "severity": [ { "score": 8.8, "type": "CVSS_V3" } ], "summary": "Dependency Confusion in Bundler with Implicit Private Dependencies" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2020-36327", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/rubygems/rubygems/issues/3982", "refsource": "MISC", "url": "https://github.com/rubygems/rubygems/issues/3982" }, { "name": "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105", "refsource": "MISC", "url": "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105" }, { "name": "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html", "refsource": "MISC", "url": "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html" }, { "name": "https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/", "refsource": "MISC", "url": "https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/" }, { "name": "https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/", "refsource": "MISC", "url": "https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/" }, { "name": "FEDORA-2021-36cdab1f8d", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/" } ] } }, "github.com/rubysec/ruby-advisory-db": { "cve": "2020-36327", "cvss_v3": 8.8, "date": "2020-09-30", "description": "Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.17 sometimes chooses a\ndependency source based on the highest gem version number, which means that a\nrogue gem found at a public source may be chosen, even if the intended choice\nwas a private gem that is a dependency of another private gem that is\nexplicitly depended on by the application.\n", "gem": "bundler", "ghsa": "fp4w-jxhp-m23p", "patched_versions": [ "\u003e= 2.2.18", "2.2.10" ], "related": { "cve": [ "2021-24105" ], "url": [ "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html", "https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/", "https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/", "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105", "https://github.com/rubygems/rubygems/pull/4609" ] }, "title": "Dependency Confusion in Bundler with Implicit Private Dependencies", "unaffected_versions": [ "\u003c 1.16.0" ], "url": "https://github.com/rubygems/rubygems/issues/3982" }, "gitlab.com": { "advisories": [ { "affected_range": "\u003e=1.16.0 \u003c2.2.16", "affected_versions": "All versions starting from 1.16.0 before 2.2.16", "cvss_v2": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2021-07-30", "description": "Bundler 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.", "fixed_versions": [ "2.2.16" ], "identifier": "CVE-2020-36327", "identifiers": [ "CVE-2020-36327" ], "not_impacted": "All versions before 1.16.0, all versions starting from 2.2.16", "package_slug": "gem/bundler", "pubdate": "2021-04-29", "solution": "Upgrade to version 2.2.16 or above.", "title": "Dependency Confusion", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-36327", "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105", "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html" ], "uuid": "2688d2e6-d38c-41d8-8dd0-9521648f6533" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*", "cpe_name": [], "versionEndExcluding": "2.2.10", "versionStartIncluding": "1.16.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:bundler:bundler:*:*:*:*:*:ruby:*:*", "cpe_name": [], "versionEndIncluding": "2.2.16", "versionStartIncluding": "2.2.11", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:microsoft:package_manager_configurations:-:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2020-36327" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "NVD-CWE-noinfo" } ] } ] }, "references": { "reference_data": [ { "name": "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105", "refsource": "MISC", "tags": [ "Patch", "Vendor Advisory" ], "url": "https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-24105" }, { "name": "https://github.com/rubygems/rubygems/issues/3982", "refsource": "MISC", "tags": [ "Exploit", "Issue Tracking", "Third Party Advisory" ], "url": "https://github.com/rubygems/rubygems/issues/3982" }, { "name": "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://bundler.io/blog/2021/02/15/a-more-secure-bundler-we-fixed-our-source-priorities.html" }, { "name": "https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://mensfeld.pl/2021/02/rubygems-dependency-confusion-attack-side-of-things/" }, { "name": "https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/", "refsource": "MISC", "tags": [ "Exploit", "Third Party Advisory" ], "url": "https://www.zofrex.com/blog/2021/04/29/bundler-still-vulnerable-dependency-confusion-cve-2020-36327/" }, { "name": "FEDORA-2021-36cdab1f8d", "refsource": "FEDORA", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWXHK5UUHVSHF7HTHMX6JY3WXDVNIHSL/" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "MEDIUM", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "COMPLETE", "baseScore": 9.3, "confidentialityImpact": "COMPLETE", "integrityImpact": "COMPLETE", "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C", "version": "2.0" }, "exploitabilityScore": 8.6, "impactScore": 10.0, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": true }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 8.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 5.9 } }, "lastModifiedDate": "2022-04-05T18:06Z", "publishedDate": "2021-04-29T03:15Z" } } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.