CVE-2018-1000076Rubygems
Critical 9.8 No auth needed
Follow: this CVE · Rubygems · Rubygems We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Mar 13, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Improper Verification of Cryptographic Signature vulnerability in package.rb that can result in a mis-signed gem could be installed, as the tarball would contain multiple gem signatures.. This vulnerability appears to have been fixed in 2.7.6.
What to do
- Apply the vendor's security update for Rubygems.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jruby:jruby-stdlib |
< 9.1.16.0 |
9.1.16.0 |
— |
| RubyGems | rubygems-update |
≥ 2.2.0 < 2.7.6 |
2.7.6 |
gem "rubygems-update", ">= 2.7.6" |
Per OSV / GitHub Advisories (GHSA-mc6j-h948-v2p6). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubygems | rubygems | ≤ 2.2.9 |
| rubygems | rubygems | ≤ 2.3.6 |
| rubygems | rubygems | ≤ 2.4.3 |
| rubygems | rubygems | ≤ 2.5.0 |
| debian | debian_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- blog.rubygems.org Vendor Advisory
- lists.opensuse.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- github.com Patch Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.debian.org Third Party Advisory
- lists.debian.org
- lists.debian.org
- lists.debian.org
- usn.ubuntu.com
- www.debian.org
- www.debian.org