CVE-2018-1000077: Input Validation
Last updated 18 August 2025
Other sources
Missing URL validation on spec home attribute allows malicious gem to set an invalid homepage URL.
Upstream fix:
https://github.com/rubygems/rubygems/commit/feadefc2d351dcb95d6492f5ad17ebca546eb964
External References:
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
— Red Hat
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.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2018-1000077?
CVE-2018-1000077 is an Improper Input Validation vulnerability in RubyGems.
Which versions of RubyGems are affected by CVE-2018-1000077?
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 are affected by CVE-2018-1000077.
What is the severity of CVE-2018-1000077?
CVE-2018-1000077 has a severity level of medium.
How do I fix CVE-2018-1000077?
To fix CVE-2018-1000077, update RubyGems to the latest version available.
Where can I find more information about CVE-2018-1000077?
You can find more information about CVE-2018-1000077 at the following links: [CVE-2018-1000077 on RubyGems Blog](http://blog.rubygems.org/2018/02/15/2.7.6-released.html), [CVE-2018-1000077 on GitHub](https://github.com/rubygems/rubygems/commit/feadefc2d351dcb95d6492f5ad17ebca546eb964), [CVE-2018-1000077 on Debian LTS](https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html).