CVE-2018-1000078: XSS
Cross-site scripting vulnerability in homepage attribute when displayed via gem server was found.
Upstream fix:
https://github.com/rubygems/rubygems/commit/66a28b9275551384fdab45f3591a82d6b59952cb
External References:
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
Other sources
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 Cross Site Scripting (XSS) vulnerability in gem server display of homepage attribute that can result in XSS. This attack appear to be exploitable via the victim must browse to a malicious gem on a vulnerable gem server. This vulnerability appears to have been fixed in 2.7.6.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2018-1000078?
The severity of CVE-2018-1000078 is medium with a severity value of 4.
How does CVE-2018-1000078 affect RubyGems?
CVE-2018-1000078 affects RubyGems versions 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.
What is the remedy for CVE-2018-1000078?
For Ubuntu, the remedy is to update to Ruby 2.3.3-1ubuntu1.4 or 2.3.1-2~16.04.7. For Debian, the remedy is to update to JRuby 9.1.17.0-3 or Ruby 2.5.5-3+deb10u4. For Red Hat, the remedy is to update to RubyGems 2.7.6.
Where can I find more information about CVE-2018-1000078?
You can find more information about CVE-2018-1000078 at the following references: [1](http://blog.rubygems.org/2018/02/15/2.7.6-released.html), [2](https://github.com/rubygems/rubygems/commit/66a28b9275551384fdab45f3591a82d6b59952cb), [3](https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html).
What is the Common Weakness Enumeration (CWE) for CVE-2018-1000078?
The Common Weakness Enumeration (CWE) for CVE-2018-1000078 is CWE-79.