CVEfocus › CVE database › CVE-2018-1000073

CVE-2018-1000073

CVSS 7.5 HighEPSS 4.9% (higher than 92% of CVEs)Published 2018-03-13Updated 2024-08-05Assigner: mitre

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 install_location function of package.rb that can result in path traversal when writing to a symlinked basedir outside of the root. This vulnerability appears to have been fixed in 2.7.6.

What to do

Fixed builds are available from Debian, Maven, Red Hat, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

25Fixed
3Fix pending
1Will not fix
45Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 25.10jrubyNot affected
vulnerable_code_not_present
Ubuntu 24.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 20.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 18.04jrubyFix pendingUBUNTU-CVE-2018-1000073
Ubuntu 16.04jrubyFix pendingUBUNTU-CVE-2018-1000073
Ubuntu 16.04ruby2.3Fixed2.3.1-2~16.04.7UBUNTU-CVE-2018-1000073
Ubuntu 14.04jrubyFix pendingUBUNTU-CVE-2018-1000073
Ubuntu 14.04ruby1.9.1Not affected
vulnerable_code_not_present
Ubuntu 14.04ruby2.0Fixed2.0.0.484-1ubuntu2.6UBUNTU-CVE-2018-1000073
Debian 14jrubyFixed9.1.17.0-2.1DEBIAN-CVE-2018-1000073
Debian 14rubygemsFixed3.2.0~rc.1-1DEBIAN-CVE-2018-1000073
Debian 13jrubyFixed9.1.17.0-2.1DEBIAN-CVE-2018-1000073
Debian 13rubygemsFixed3.2.0~rc.1-1DEBIAN-CVE-2018-1000073
Debian 12jrubyFixed9.1.17.0-2.1DEBIAN-CVE-2018-1000073
Debian 12rubygemsFixed3.2.0~rc.1-1DEBIAN-CVE-2018-1000073
Red Hat Enterprise Linux 8rubyNot affected
Red Hat Enterprise Linux 8ruby-bundled-gemsNot affected
Red Hat Enterprise Linux 8ruby-default-gemsNot affected
Red Hat Enterprise Linux 8ruby-develNot affected
Red Hat Enterprise Linux 8ruby-docNot affected
Red Hat Enterprise Linux 8ruby-irbNot affected
Red Hat Enterprise Linux 8ruby-libsNot affected
Red Hat Enterprise Linux 8rubygem-abrtNot affected
Red Hat Enterprise Linux 8rubygem-abrt-docNot affected
Red Hat Enterprise Linux 8rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 8rubygem-bsonNot affected
Red Hat Enterprise Linux 8rubygem-bson-docNot affected
Red Hat Enterprise Linux 8rubygem-bundlerNot affected
Red Hat Enterprise Linux 8rubygem-bundler-docNot affected
Red Hat Enterprise Linux 8rubygem-did_you_meanNot affected
Red Hat Enterprise Linux 8rubygem-io-consoleNot affected
Red Hat Enterprise Linux 8rubygem-irbNot affected
Red Hat Enterprise Linux 8rubygem-jsonNot affected
Red Hat Enterprise Linux 8rubygem-minitestNot affected
Red Hat Enterprise Linux 8rubygem-mongoNot affected
Red Hat Enterprise Linux 8rubygem-mongo-docNot affected
Red Hat Enterprise Linux 8rubygem-mysql2Not affected
Red Hat Enterprise Linux 8rubygem-mysql2-docNot affected
Red Hat Enterprise Linux 8rubygem-net-telnetNot affected
Red Hat Enterprise Linux 8rubygem-opensslNot affected
Red Hat Enterprise Linux 8rubygem-pgNot affected
Red Hat Enterprise Linux 8rubygem-pg-docNot affected
Red Hat Enterprise Linux 8rubygem-power_assertNot affected
Red Hat Enterprise Linux 8rubygem-psychNot affected
Red Hat Enterprise Linux 8rubygem-raccNot affected
Red Hat Enterprise Linux 8rubygem-rakeNot affected
Red Hat Enterprise Linux 8rubygem-rbsNot affected
Red Hat Enterprise Linux 8rubygem-rdocNot affected
Red Hat Enterprise Linux 8rubygem-rexmlNot affected
Red Hat Enterprise Linux 8rubygem-rssNot affected
Red Hat Enterprise Linux 8rubygem-test-unitNot affected
Red Hat Enterprise Linux 8rubygem-typeprofNot affected
Red Hat Enterprise Linux 8rubygem-xmlrpcNot affected
Red Hat Enterprise Linux 8rubygemsNot affected
Red Hat Enterprise Linux 8rubygems-develNot affected
Red Hat Enterprise Linux 7rubyFixed0:2.0.0.648-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7ruby-develFixed0:2.0.0.648-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7ruby-docFixed0:2.0.0.648-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7ruby-irbFixed0:2.0.0.648-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7ruby-libsFixed0:2.0.0.648-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7ruby-tcltkFixed0:2.0.0.648-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-bigdecimalFixed0:1.2.0-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-io-consoleFixed0:0.4.2-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-jsonFixed0:1.7.7-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-minitestFixed0:4.3.2-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-psychFixed0:2.0.0-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-rakeFixed0:0.9.6-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygem-rdocFixed0:4.0.0-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygemsFixed0:2.0.14.1-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 7rubygems-develFixed0:2.0.14.1-36.el7RHSA-2019:2028
Red Hat Enterprise Linux 6rubygemsWill not fix
Will not fix
Maven libraryorg.jruby:jruby-stdlibFixed9.1.16.0GHSA-gx69-6cp4-hxrj
RubyGems libraryrubygems-updateFixed2.7.6GHSA-gx69-6cp4-hxrj

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.