rubygems: Missing URL validation on spec home attribute allows malicious gem to set an invalid homepage URL
Published Mar 13, 2018
5.5
MEDIUMCVSS 3.0
EPSS 3.60%
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 Input Validation vulnerability in ruby gems specification homepage attribute that can result in a malicious gem could set an invalid homepage URL. 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:N/I:L/A:N
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:N/I:P/A:N
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 (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.60% (0.03595) | 89.07th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.82% (0.03825) | 88.67th | v5 (v2026.06.15) |
| Nov 18, 2025 | 1.93% (0.01931) | 81.91th | v4 (v2025.03.14) |
| Aug 23, 2025 | 0.65% (0.00651) | 69.95th | v4 (v2025.03.14) |
| Apr 12, 2025 | 1.66% (0.01663) | 80.50th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.10% (0.03105) | 85.63th | v4 (v2025.03.14) |
| Mar 29, 2025 | 8.81% (0.08809) | 87.34th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.10% (0.03105) | 85.92th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.38% (0.00375) | 73.62th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.38% (0.00375) | 71.99th | v3 (v2023.03.01) |
| Oct 7, 2023 | 0.38% (0.00375) | 69.58th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.41% (0.00411) | 70.63th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.57% (0.00575) | 74.62th | 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 (26)
- 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-1000077 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1547422 Issue Tracking
- https://github.com/advisories/GHSA-gv86-43rv-79m2 Advisory
- https://github.com/jruby/jruby/commit/0b06b48ab4432237ce5fc1bef47f2c6bcf7843f7
- https://github.com/rubygems/rubygems/commit/5971b486d4dbb2bad5d3445b3801c456eb0ce183
- https://github.com/rubygems/rubygems/commit/feadefc2d351dcb95d6492f5ad17ebca546eb964 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-1000077
- https://usn.ubuntu.com/3621-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-1000077
- 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.