Patchwire CVEs, their patch status, and feeds to follow them

CVE-2019-8320

Fixed in a distro release EPSS 4%

A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.

Published 2019-06-06 · CVE record · OSV

Products: rubygems

Fixed upstream

EcosystemPackageFixed in
RubyGemsrubygems-update2.7.9
RubyGemsrubygems-update3.0.3

Distro releases

ReleasePackageFixed in
Alpine 3.6ruby2.4.6-r0
Alpine 3.7ruby2.4.6-r0
Alpine 3.8ruby2.5.5-r0
Alpine 3.9ruby2.5.5-r0
Debian 12jruby9.1.17.0-3
Debian 12rubygems3.2.0~rc.1-1
Debian 13jruby9.1.17.0-3
Debian 13rubygems3.2.0~rc.1-1
Debian 14jruby9.1.17.0-3
Debian 14rubygems3.2.0~rc.1-1
Debian 8ruby2.12.1.5-2+deb8u7
Debian 9jruby1.7.26-1+deb9u2
Debian 9ruby2.32.3.3-1+deb9u6
Red Hat cloudforms managementengine 5.10cfme0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-amazon-smartstate0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-appliance0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-appliance-common0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-appliance-debuginfo0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-appliance-tools0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-debuginfo0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-gemset0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10cfme-gemset-debuginfo0:5.10.5.1-1.el7cf
Red Hat cloudforms managementengine 5.10ruby0:2.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10ruby-debuginfo0:2.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10ruby-devel0:2.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10ruby-doc0:2.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10ruby-irb0:2.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10ruby-libs0:2.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-bigdecimal0:1.3.2-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-did_you_mean0:1.1.0-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-io-console0:0.4.6-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-minitest0:5.10.1-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-net-telnet0:0.1.1-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-openssl0:2.0.9-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-power_assert0:0.4.1-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-psych0:2.2.2-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-rake0:12.0.0-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-rdoc0:5.0.0-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-test-unit0:3.2.3-91.el7cf
Red Hat cloudforms managementengine 5.10rubygem-xmlrpc0:0.2.1-91.el7cf
Red Hat cloudforms managementengine 5.10rubygems0:2.6.14.4-91.el7cf
Red Hat cloudforms managementengine 5.10rubygems-devel0:2.6.14.4-91.el7cf
Red Hat Enterprise Linux 8ruby0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-debuginfo0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-debugsource0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-devel0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-doc0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-irb0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-libs0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8ruby-libs-debuginfo0:2.5.5-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-abrt0:0.3.0-4.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-abrt-doc0:0.3.0-4.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bigdecimal0:1.3.4-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bigdecimal-debuginfo0:1.3.4-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bson0:4.3.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bson-debuginfo0:4.3.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bson-debugsource0:4.3.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bson-doc0:4.3.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bundler0:1.16.1-3.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-bundler-doc0:1.16.1-3.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-did_you_mean0:1.2.0-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-io-console0:0.4.6-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-io-console-debuginfo0:0.4.6-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-json0:2.1.0-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-json-debuginfo0:2.1.0-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-minitest0:5.10.3-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-mongo0:2.5.1-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-mongo-doc0:2.5.1-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-mysql20:0.4.10-4.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-mysql2-debuginfo0:0.4.10-4.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-mysql2-debugsource0:0.4.10-4.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-mysql2-doc0:0.4.10-4.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-net-telnet0:0.1.1-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-openssl0:2.1.2-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-openssl-debuginfo0:2.1.2-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-pg0:1.0.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-pg-debuginfo0:1.0.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-pg-debugsource0:1.0.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-pg-doc0:1.0.0-2.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-power_assert0:1.1.1-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-psych0:3.0.2-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-psych-debuginfo0:3.0.2-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-rake0:12.3.0-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-rdoc0:6.0.1-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-test-unit0:3.2.7-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygem-xmlrpc0:0.3.0-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygems0:2.7.6.2-105.module+el8.1.0+3656+f80bfa1d
Red Hat Enterprise Linux 8rubygems-devel0:2.7.6.2-105.module+el8.1.0+3656+f80bfa1d
Red Hat rhel software collections 3rh-ruby24-ruby0:2.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-ruby0:2.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-ruby-debuginfo0:2.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-ruby-debuginfo0:2.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-ruby-devel0:2.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-ruby-devel0:2.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-ruby-doc0:2.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-ruby-doc0:2.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-ruby-irb0:2.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-ruby-irb0:2.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-ruby-libs0:2.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-ruby-libs0:2.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-bigdecimal0:1.3.2-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-bigdecimal0:1.3.2-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-did_you_mean0:1.1.0-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-did_you_mean0:1.1.0-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-io-console0:0.4.6-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-io-console0:0.4.6-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-json0:2.0.4-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-json0:2.0.4-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-minitest0:5.10.1-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-minitest0:5.10.1-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-net-telnet0:0.1.1-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-net-telnet0:0.1.1-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-openssl0:2.0.9-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-openssl0:2.0.9-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-power_assert0:0.4.1-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-power_assert0:0.4.1-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-psych0:2.2.2-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-psych0:2.2.2-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-rake0:12.0.0-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-rake0:12.0.0-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-rdoc0:5.0.0-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-rdoc0:5.0.0-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-test-unit0:3.2.3-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygem-test-unit0:3.2.3-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-xmlrpc0:0.2.1-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygem-xmlrpc0:0.2.1-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygems0:2.6.14.4-92.el6
Red Hat rhel software collections 3rh-ruby24-rubygems0:2.6.14.4-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygems-devel0:2.6.14.4-92.el7
Red Hat rhel software collections 3rh-ruby24-rubygems-devel0:2.6.14.4-92.el6
Red Hat rhel software collections 3rh-ruby25-ruby0:2.5.5-7.el7
Red Hat rhel software collections 3rh-ruby25-ruby-debuginfo0:2.5.5-7.el7
Red Hat rhel software collections 3rh-ruby25-ruby-devel0:2.5.5-7.el7
Red Hat rhel software collections 3rh-ruby25-ruby-doc0:2.5.5-7.el7
Red Hat rhel software collections 3rh-ruby25-ruby-irb0:2.5.5-7.el7
Red Hat rhel software collections 3rh-ruby25-ruby-libs0:2.5.5-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-bigdecimal0:1.3.4-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-did_you_mean0:1.2.0-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-io-console0:0.4.6-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-json0:2.1.0-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-minitest0:5.10.3-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-net-telnet0:0.1.1-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-openssl0:2.1.2-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-power_assert0:1.1.1-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-psych0:3.0.2-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-rake0:12.3.0-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-rdoc0:6.0.1-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-test-unit0:3.2.7-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygem-xmlrpc0:0.3.0-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygems0:2.7.6.2-7.el7
Red Hat rhel software collections 3rh-ruby25-rubygems-devel0:2.7.6.2-7.el7
SUSE Enterprise Storage 5ruby2.12.1.9-19.3.2
SUSE HPE Helion OpenStack 8ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Module for Basesystem 15ruby2.52.5.5-4.3.1
SUSE Linux Enterprise Module for Basesystem 15 SP1ruby2.52.5.5-4.3.1
SUSE Linux Enterprise Server 12 SP2-BCLruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server 12 SP2-BCLyast2-ruby-bindings3.1.53-9.8.1
SUSE Linux Enterprise Server 12 SP2-LTSSruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server 12 SP2-LTSSyast2-ruby-bindings3.1.53-9.8.1
SUSE Linux Enterprise Server 12 SP3-BCLruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server 12 SP3-LTSSruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server 12 SP4ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server 12 SP5ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server for SAP Applications 12 SP2ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server for SAP Applications 12 SP2yast2-ruby-bindings3.1.53-9.8.1
SUSE Linux Enterprise Server for SAP Applications 12 SP3ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server for SAP Applications 12 SP4ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Server for SAP Applications 12 SP5ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Software Development Kit 12 SP4ruby2.12.1.9-19.3.2
SUSE Linux Enterprise Software Development Kit 12 SP5ruby2.12.1.9-19.3.2
SUSE OpenStack Cloud 7ruby2.12.1.9-19.3.2
SUSE OpenStack Cloud 7yast2-ruby-bindings3.1.53-9.8.1
SUSE OpenStack Cloud 8ruby2.12.1.9-19.3.2
SUSE OpenStack Cloud Crowbar 8ruby2.12.1.9-19.3.2
Ubuntu 14.04 LTSruby1.9.11.9.3.484-2ubuntu1.14
Ubuntu 14.04 LTSruby2.02.0.0.484-1ubuntu2.13
Ubuntu 16.04 LTSruby2.32.3.1-2~16.04.12
Ubuntu 18.04 LTSjrubyno fix
Ubuntu 18.04 LTSruby2.52.5.1-1ubuntu1.2
openSUSE Leap 15.0ruby-bundled-gems-rpmhelper0.0.2-lp151.2.1
openSUSE Leap 15.0ruby2.52.5.5-lp151.4.3.1
openSUSE Leap 15.1ruby-bundled-gems-rpmhelper0.0.2-lp151.2.1
openSUSE Leap 15.1ruby2.52.5.5-lp151.4.3.1