Name | CVE-2018-1000078 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1336-1, DLA-1337-1, DLA-1358-1, DLA-1421-1, DLA-1796-1, DSA-4219-1, DSA-4259-1 |
Debian Bugs | 895778 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
jruby (PTS) | jessie, jessie (lts) | 1.5.6-9+deb8u2 | fixed |
stretch (security), stretch (lts), stretch | 1.7.26-1+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 9.1.17.0-3+deb10u1 | fixed | |
bookworm | 9.3.9.0+ds-8 | fixed | |
sid, trixie | 9.4.8.0+ds-1 | fixed | |
ruby2.1 (PTS) | jessie, jessie (lts) | 2.1.5-2+deb8u14 | fixed |
ruby2.3 (PTS) | stretch (security) | 2.3.3-1+deb9u11 | fixed |
stretch (lts), stretch | 2.3.3-1+deb9u12 | fixed | |
ruby2.5 (PTS) | buster, buster (lts) | 2.5.5-3+deb10u7 | fixed |
buster (security) | 2.5.5-3+deb10u6 | fixed | |
rubygems (PTS) | bullseye | 3.2.5-2 | fixed |
bookworm | 3.3.15-2 | fixed | |
sid, trixie | 3.4.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
jruby | source | wheezy | 1.5.6-5+deb7u1 | DLA-1337-1 | ||
jruby | source | jessie | 1.5.6-9+deb8u1 | DLA-1796-1 | ||
jruby | source | stretch | 1.7.26-1+deb9u1 | DSA-4219-1 | ||
jruby | source | (unstable) | 9.1.17.0-1 | 895778 | ||
ruby1.9.1 | source | wheezy | 1.9.3.194-8.1+deb7u8 | DLA-1358-1 | ||
ruby1.9.1 | source | (unstable) | (unfixed) | |||
ruby2.1 | source | jessie | 2.1.5-2+deb8u4 | DLA-1421-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | |||
ruby2.3 | source | stretch | 2.3.3-1+deb9u3 | DSA-4259-1 | ||
ruby2.3 | source | (unstable) | (unfixed) | |||
ruby2.5 | source | (unstable) | 2.5.0-5 | |||
rubygems | source | wheezy | 1.8.24-1+deb7u2 | DLA-1336-1 | ||
rubygems | source | (unstable) | 3.2.0~rc.1-1 |
https://github.com/rubygems/rubygems/commit/66a28b9275551384fdab45f3591a82d6b59952cb
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/