GHSA-5x32-c9mf-49cc · Severity: high · Ecosystem: rubygems — RubyGems Delete directory using symlink when decompressing tar
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.
Conclusion & alert: CVE-2019-8320 is rated High Exploit Risk (76.4/100): CVSS High severity, with high exploitation likelihood (EPSS 6.22%, 91th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-04 | 6.31% | 6.22% | -0.08% |
| 2 | 2026-03-22 | 6.42% | 6.31% | -0.11% |
| 3 | 2026-03-04 | — | 6.42% | — |
Full EPSS history (50 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.4 | 3.0 | HIGH |
|
2.2 | 5.2 | [email protected] |
| 8.8 | 2.0 | HIGH |
|
8.6 | 9.2 | [email protected] |
GHSA-5x32-c9mf-49cc · Severity: high · Ecosystem: rubygems — RubyGems Delete directory using symlink when decompressing tar
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2019-8320 not yet assigned priority: Debian including 2 source packages (jruby, rubygems), 9 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 9. | https://security-tracker.debian.org/tracker/CVE-2019-8320 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2019-8320 |
suse
|
medium | CVE-2019-8320 severity moderate: SUSE including 317 source package names (2.17-17.3:libruby2_5-2_5-2.5.5-4.3.1, 2.17-17.3:ruby2.5-2.5.5-4.3.1, …), 1018 product×package rows across 246 product lines (Container bci/ruby, Container suse/rmt-server, … (246 product lines)): Fixed 859, Known Affected 157, Known Not Affected 2. | https://www.suse.com/security/cve/CVE-2019-8320/ |
ubuntu
|
medium | CVE-2019-8320 medium priority: Ubuntu including 6 source packages (jruby, ruby1.9.1, ruby2.0, ruby2.1, ruby2.3, ruby2.5), 112 status rows across 19 suites (bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 83, not-affected 13, released 7, needs-triage 6, ignored 2, needed 1. | https://ubuntu.com/security/CVE-2019-8320 |