CVE catalog

CVE-2018-1000079

rubygems: CVE-2018-1000079

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.78% · 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 Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. 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
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~esm2vulnerable
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
Ubunturuby2.0deb14.042.0.0.484-1ubuntu2.6Not reportedUBUNTU-CVE-2018-1000079Not reported
Ubunturuby2.3deb16.042.3.1-2~16.04.7Not reportedUBUNTU-CVE-2018-1000079Not 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