CVE catalog

CVE-2018-1000078

rubygems: CVE-2018-1000078

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.75% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianjrubysid10.1.2.0+ds-1fixed
Debianjrubyforky10.1.2.0+ds-1fixed
Debianjrubytrixie9.4.8.0+ds-3fixed
Debianjrubybookworm9.3.9.0+ds-8fixed
Debianrubygemssid4.0.22-1fixed
Debianrubygemsforky4.0.22-1fixed
Debianrubygemstrixie3.6.7-2fixed
Debianrubygemsbookworm3.3.15-2+deb12u1fixed
Ubunturuby1.9.114.041.9.3.194-8.1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.3vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.5vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.6vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.7vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.8fixed
Ubunturuby2.014.042.0.0.299-2vulnerable
Ubunturuby2.014.042.0.0.343-1vulnerable
Ubunturuby2.014.042.0.0.343-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.353-1vulnerable
Ubunturuby2.014.042.0.0.353-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.4vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.5vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.6fixed
Ubuntujrubypro1.5.6-5ubuntu1vulnerable
Ubuntujrubypro1.5.6-6vulnerable
Ubuntujrubypro1.5.6-7vulnerable
Ubuntujrubypro1.5.6-9+deb8u2build0.14.04.1~esm2fixed
Ubunturuby2.316.042.3.0-1vulnerable
Ubunturuby2.316.042.3.0-2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu3vulnerable
Ubunturuby2.316.042.3.0-5ubuntu1vulnerable
Ubunturuby2.316.042.3.1-2~16.04vulnerable
Ubunturuby2.316.042.3.1-2~16.04.2vulnerable
Ubunturuby2.316.042.3.1-2~16.04.4vulnerable
Ubunturuby2.316.042.3.1-2~16.04.5vulnerable
Ubunturuby2.316.042.3.1-2~16.04.6vulnerable
Ubunturuby2.316.042.3.1-2~16.04.7fixed
Ubuntujruby16.041.7.21-2ubuntu4vulnerable
Ubuntujruby16.041.7.22-1ubuntu1vulnerable
Ubuntujruby18.049.1.13.0-1vulnerable
Ubuntujruby18.049.1.17.0-1~18.04vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianjrubysourcesid9.1.17.0-1not yet assignedNot reported[895778]
Debianjrubysourceforky9.1.17.0-1not yet assignedNot reported[895778]
Debianjrubysourcetrixie9.1.17.0-1not yet assignedNot reported[895778]
Debianjrubysourcebookworm9.1.17.0-1not yet assignedNot reported[895778]
Debianrubygemssourcesid3.2.0~rc.1-1not yet assignedNot reportedNot reported
Debianrubygemssourceforky3.2.0~rc.1-1not yet assignedNot reportedNot reported
Debianrubygemssourcetrixie3.2.0~rc.1-1not yet assignedNot reportedNot reported
Debianrubygemssourcebookworm3.2.0~rc.1-1not yet assignedNot reportedNot reported
Ubunturuby1.9.1deb14.041.9.3.484-2ubuntu1.8Not reportedUBUNTU-CVE-2018-1000078Not reported
Ubunturuby2.0deb14.042.0.0.484-1ubuntu2.6Not reportedUBUNTU-CVE-2018-1000078Not reported
Ubuntujrubydebpro1.5.6-9+deb8u2build0.14.04.1~esm2Not reportedUBUNTU-CVE-2018-1000078Not reported
Ubunturuby2.3deb16.042.3.1-2~16.04.7Not reportedUBUNTU-CVE-2018-1000078Not reported

[Debian bug #895778]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [bundler]Fixed

    Source package: [rubygems]

    Details (2)
    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

  • [jruby]Fixed
    Details (2)
    • 9.3.9.0+ds-8 · all · bookworm

      Fixed · Fixed: 9.1.17.0-1

      dsa · jruby · debian · bookworm; dsa · jruby · debian · 12

    • 9.3.9.0+ds-8 · all · bookworm

      Fixed · Fixed: 9.1.17.0-1

      dsa · jruby · debian · bookworm; dsa · jruby · debian · 12

  • Source package: [rubygems]

    Details (2)
    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

    • 2.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

  • Source package: [rubygems]

    Details (2)
    • 3.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

    • 3.3.15-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12

[Debian 13 (Trixie)]

  • [bundler]Fixed

    Source package: [rubygems]

    Details (2)
    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

  • [jruby]Fixed
    Details (2)
    • 9.4.8.0+ds-3 · all · trixie

      Fixed · Fixed: 9.1.17.0-1

      dsa · jruby · debian · 13

    • 9.4.8.0+ds-3 · all · trixie

      Fixed · Fixed: 9.1.17.0-1

      dsa · jruby · debian · 13

  • Source package: [rubygems]

    Details (2)
    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

    • 2.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

  • Source package: [rubygems]

    Details (2)
    • 3.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

    • 3.6.7-2 · all · trixie

      Fixed · Fixed: 3.2.0~rc.1-1

      dsa · rubygems · debian · 13

Observed:

References