CVE-2018-1000078Cross-site Scripting in Rubygems

CWE-79Cross-site Scripting12 documents7 sources
Severity
6.1MEDIUMNVD
OSV7.5
EPSS
0.8%
top 25.53%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 13
Latest updateMay 14

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 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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitability: 2.8 | Impact: 2.7

Affected Packages5 packages

debiandebian/rubygems< jruby 9.1.17.0-1 (bookworm)
Debianrubygems/rubygems< 3.2.0~rc.1-1+3
NVDrubygems/rubygems2.2.9+3
debiandebian/jruby< jruby 9.1.17.0-1 (bookworm)
Debianjruby/jruby< 9.1.17.0-1+2

Also affects: Debian Linux 7.0

Patches

🔴Vulnerability Details

5
GHSA
RubyGems Cross-site Scripting vulnerability2022-05-14
OSV
RubyGems Cross-site Scripting vulnerability2022-05-14
OSV
ruby1.9.1, ruby2.0 regression2018-04-13
OSV
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities2018-04-05
OSV
CVE-2018-1000078: RubyGems version Ruby 22018-03-13

📋Vendor Advisories

4
Ubuntu
Ruby regression2018-04-13
Ubuntu
Ruby vulnerabilities2018-04-05
Red Hat
rubygems: XSS vulnerability in homepage attribute when displayed via gem server2018-02-15
Debian
CVE-2018-1000078: jruby - RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and ...2018

💬Community

2
Bugzilla
CVE-2018-1000073 CVE-2018-1000074 CVE-2018-1000075 CVE-2018-1000076 CVE-2018-1000077 CVE-2018-1000078 CVE-2018-1000079 rubygems: various flaws [fedora-all]2018-02-21
Bugzilla
CVE-2018-1000078 rubygems: XSS vulnerability in homepage attribute when displayed via gem server2018-02-21
CVE-2018-1000078 — Cross-site Scripting in Rubygems | cvebase