rubygems: Improper verification of signatures in tarball allows to install mis-signed gem
Published Mar 13, 2018
9.8
CRITICALCVSS 3.0
EPSS 2.93%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 7
ruby-0:2.0.0.648-36.el7
Fixed · RHSA-2019:2028
Red Hat Enterprise Linux 7.4 Advanced Update Support
ruby-0:2.0.0.648-35.el7_4
Fixed · RHSA-2020:0591
Red Hat Enterprise Linux 7.4 Telco Extended Update Support
ruby-0:2.0.0.648-35.el7_4
Fixed · RHSA-2020:0591
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
ruby-0:2.0.0.648-35.el7_4
Fixed · RHSA-2020:0591
Red Hat Enterprise Linux 7.5 Extended Update Support
ruby-0:2.0.0.648-35.el7_5
Fixed · RHSA-2020:0542
Red Hat Enterprise Linux 7.6 Extended Update Support
ruby-0:2.0.0.648-36.el7_6
Fixed · RHSA-2020:0663
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-ruby23-ruby-0:2.3.8-69.el6
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-ruby24-ruby-0:2.4.5-91.el6
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-ruby23-ruby-0:2.3.8-69.el7
Fixed · RHSA-2018:3729
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-ruby24-ruby-0:2.4.5-91.el7
Fixed · RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-ruby25-ruby-0:2.5.3-6.el7
Fixed · RHSA-2018:3731
Red Hat Enterprise Linux 6
rubygems
Will not fix
Red Hat Enterprise Linux 8
ruby
Not affected
Red Hat Enterprise MRG 2
rubygems
Will not fix
Red Hat Satellite 6
rubygems
Will not fix
Red Hat Subscription Asset Manager
ruby193-rubygems
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | ruby-0:2.0.0.648-36.el7 | Fixed | RHSA-2019:2028 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | ruby-0:2.0.0.648-35.el7_4 | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | ruby-0:2.0.0.648-35.el7_4 | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | ruby-0:2.0.0.648-35.el7_4 | Fixed | RHSA-2020:0591 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | ruby-0:2.0.0.648-35.el7_5 | Fixed | RHSA-2020:0542 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | ruby-0:2.0.0.648-36.el7_6 | Fixed | RHSA-2020:0663 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby23-ruby-0:2.3.8-69.el6 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-ruby24-ruby-0:2.4.5-91.el6 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby23-ruby-0:2.3.8-69.el7 | Fixed | RHSA-2018:3729 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby24-ruby-0:2.4.5-91.el7 | Fixed | RHSA-2018:3730 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-ruby25-ruby-0:2.5.3-6.el7 | Fixed | RHSA-2018:3731 |
| Red Hat Enterprise Linux 6 | rubygems | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | ruby | Not affected | n/a |
| Red Hat Enterprise MRG 2 | rubygems | Will not fix | n/a |
| Red Hat Satellite 6 | rubygems | Will not fix | n/a |
| Red Hat Subscription Asset Manager | ruby193-rubygems | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of rubygems as shipped with Red Hat Subscription Asset Manager 1.x. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/. This issue affects the versions of rubygems as shipped with Red Hat Satellite version 6 on Red Hat Enterprise Linux version 5. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.93% (0.02934) | 86.62th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.04% (0.03037) | 85.74th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.86% (0.00860) | 74.32th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.29% (0.02289) | 83.35th | v4 (v2025.03.14) |
| Jul 13, 2025 | 0.91% (0.00906) | 74.78th | v4 (v2025.03.14) |
| May 31, 2025 | 2.11% (0.02110) | 83.23th | v4 (v2025.03.14) |
| Apr 13, 2025 | 0.76% (0.00755) | 71.02th | v4 (v2025.03.14) |
| Mar 30, 2025 | 2.11% (0.02110) | 82.55th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.45% (0.03452) | 78.98th | v4 (v2025.03.14) |
| Mar 17, 2025 | 2.11% (0.02110) | 82.92th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.43% (0.01425) | 87.08th | v3 (v2023.03.01) |
| Oct 7, 2023 | 1.43% (0.01425) | 84.99th | v3 (v2023.03.01) |
| Sep 3, 2023 | 1.56% (0.01559) | 85.61th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.17% (0.02168) | 87.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.88% (0.03876) | 72.87th | v5 (v2026.06.15) |
| Apr 14, 2021 | 3.88% (0.03876) | 0.00th | v1 |
References (25)
- http://blog.rubygems.org/2018/02/15/2.7.6-released.html x_refsource_MISCVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2018:3729 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:3730 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2018:3731 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2019:2028 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0542 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0591 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2020:0663 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-1000076 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1547421 Issue Tracking
- https://github.com/advisories/GHSA-mc6j-h948-v2p6 Advisory
- https://github.com/jruby/jruby/commit/0b06b48ab4432237ce5fc1bef47f2c6bcf7843f7
- https://github.com/rubygems/rubygems/commit/f5042b879259b1f1ce95a0c5082622c646376693 x_refsource_MISCPatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00001.html mailing-listx_refsource_MLISTThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2019/05/msg00028.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000076
- https://usn.ubuntu.com/3621-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-1000076
- https://www.debian.org/security/2018/dsa-4219 vendor-advisoryx_refsource_DEBIAN
- https://www.debian.org/security/2018/dsa-4259 vendor-advisoryx_refsource_DEBIAN
- https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
Change history (0)
No recorded changes yet.