Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2019-8320

published

rubygems: Delete directory using symlink when decompressing tar

Title from Red Hat VEX

Published
06 Jun 2019, 14:50:02 UTC
Updated
04 Aug 2024, 21:17:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Alpine Linux v3.6 ruby Fixed 2.4.6-r0 Package fix record
Debian jessie ruby2.1 Advisory build 2.1.5-2+deb8u7 DLA-1735-1
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubysrc Advisory build 2.4.6-92.el6 RHSA-2019:1150
Alpine Linux v3.7 ruby Fixed 2.4.6-r0 Package fix record
Alpine Linux v3.8 ruby Fixed 2.5.5-r0 Package fix record
Alpine Linux v3.9 ruby Fixed 2.5.5-r0 Package fix record
Debian stretch jruby Advisory build 1.7.26-1+deb9u2 DLA-2330-1
Show 93 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian stretch ruby2.3 Advisory build 2.3.3-1+deb9u6 DSA-4433-1
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubyx86_64 Advisory build 2.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-ruby-debuginfox86_64 Advisory build 2.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-ruby-develx86_64 Advisory build 2.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-ruby-docnoarch Advisory build 2.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-ruby-irbnoarch Advisory build 2.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-ruby-libsx86_64 Advisory build 2.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-bigdecimalx86_64 Advisory build 1.3.2-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-did_you_meanx86_64 Advisory build 1.1.0-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-io-consolex86_64 Advisory build 0.4.6-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-jsonx86_64 Advisory build 2.0.4-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-minitestnoarch Advisory build 5.10.1-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-net-telnetx86_64 Advisory build 0.1.1-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-opensslx86_64 Advisory build 2.0.9-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-power_assertnoarch Advisory build 0.4.1-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-psychx86_64 Advisory build 2.2.2-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-rakenoarch Advisory build 12.0.0-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-rdocnoarch Advisory build 5.0.0-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-test-unitnoarch Advisory build 3.2.3-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygem-xmlrpcnoarch Advisory build 0.2.1-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygemsnoarch Advisory build 2.6.14.4-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-6 rh-ruby24-rubygems-develnoarch Advisory build 2.6.14.4-92.el6 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubysrc Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubyx86_64 Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-ruby-debuginfox86_64 Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-ruby-develx86_64 Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-ruby-docnoarch Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-ruby-irbnoarch Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-ruby-libsx86_64 Advisory build 2.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-bigdecimalx86_64 Advisory build 1.3.2-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-did_you_meanx86_64 Advisory build 1.1.0-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-io-consolex86_64 Advisory build 0.4.6-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-jsonx86_64 Advisory build 2.0.4-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-minitestnoarch Advisory build 5.10.1-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-net-telnetx86_64 Advisory build 0.1.1-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-opensslx86_64 Advisory build 2.0.9-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-power_assertnoarch Advisory build 0.4.1-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-psychx86_64 Advisory build 2.2.2-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-rakenoarch Advisory build 12.0.0-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-rdocnoarch Advisory build 5.0.0-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-test-unitnoarch Advisory build 3.2.3-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygem-xmlrpcnoarch Advisory build 0.2.1-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygemsnoarch Advisory build 2.6.14.4-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby24-rubygems-develnoarch Advisory build 2.6.14.4-92.el7 RHSA-2019:1150
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubyaarch64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubyppc64le Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubys390x Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubysrc Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubyx86_64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-debuginfoaarch64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-debuginfoppc64le Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-debuginfos390x Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-debuginfox86_64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-develaarch64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-develppc64le Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-devels390x Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-develx86_64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-docnoarch Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-irbnoarch Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-libsaarch64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-libsppc64le Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-libss390x Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-ruby-libsx86_64 Advisory build 2.5.5-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-bigdecimalaarch64 Advisory build 1.3.4-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-bigdecimalppc64le Advisory build 1.3.4-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-bigdecimals390x Advisory build 1.3.4-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-bigdecimalx86_64 Advisory build 1.3.4-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-did_you_meannoarch Advisory build 1.2.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-io-consoleaarch64 Advisory build 0.4.6-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-io-consoleppc64le Advisory build 0.4.6-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-io-consoles390x Advisory build 0.4.6-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-io-consolex86_64 Advisory build 0.4.6-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-jsonaarch64 Advisory build 2.1.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-jsonppc64le Advisory build 2.1.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-jsons390x Advisory build 2.1.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-jsonx86_64 Advisory build 2.1.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-minitestnoarch Advisory build 5.10.3-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-net-telnetnoarch Advisory build 0.1.1-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-opensslaarch64 Advisory build 2.1.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-opensslppc64le Advisory build 2.1.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-openssls390x Advisory build 2.1.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-opensslx86_64 Advisory build 2.1.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-power_assertnoarch Advisory build 1.1.1-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-psychaarch64 Advisory build 3.0.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-psychppc64le Advisory build 3.0.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-psychs390x Advisory build 3.0.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-psychx86_64 Advisory build 3.0.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-rakenoarch Advisory build 12.3.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-rdocnoarch Advisory build 6.0.1-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-test-unitnoarch Advisory build 3.2.7-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygem-xmlrpcnoarch Advisory build 0.3.0-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygemsnoarch Advisory build 2.7.6.2-7.el7 RHSA-2019:1148
Red Hat Enterprise Linux RHEL-7 rh-ruby25-rubygems-develnoarch Advisory build 2.7.6.2-7.el7 RHSA-2019:1148

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

5

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
14fa9259c9305635d483195b02ab8c6e61c176d0efef698af2c7d5f8fee57048
Ingested
23 Sep 2026, 07:47:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected