VDB

CVE-2018-1000078

CVE-2018-1000078 PUBLISHED

RubyGems Cross-site Scripting vulnerability

Reported by mitre · Published March 13, 2018

rubygems-update is fixed in 2.7.6 and 2.5.0 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.jruby:jruby-stdlibMaven Central9.1.16.0
rubygems-updateRubyGems2.7.6, 2.5.0
rubygem-io-consoleAmazon Linux0.4.2-36.amzn2.0.1
rubyAmazon Linux2.0.0.648-36.amzn2.0.1
ruby-tcltkAmazon Linux2.0.0.648-36.amzn2.0.1
rubygemsAmazon Linux2.0.14.1-36.amzn2.0.1
ruby-libsAmazon Linux2.0.0.648-36.amzn2.0.1
rubygem-minitestAmazon Linux4.3.2-36.amzn2.0.1
rubygem-rdocAmazon Linux4.0.0-36.amzn2.0.1
rubygem-psychAmazon Linux2.0.0-36.amzn2.0.1
rubygem-bigdecimalAmazon Linux1.2.0-36.amzn2.0.1
rubygem-rakeAmazon Linux0.9.6-36.amzn2.0.1

3 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Mar 13, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (10 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (13 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-1000078
vulnetix vdb fixes CVE-2018-1000078

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1000078/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›