CVE & CISA-KEV Catalog

CVE-2019-8320

HIGHEPSS 90th pctl
7.4
CVSS v3
NVD

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.

How to fix

Remediation Available
jrubyDebian
Fixed in:9.1.17.0-3CVE-2019-8320
Fixed in:9.1.17.0-3CVE-2019-8320
Fixed in:9.1.17.0-3CVE-2019-8320
libruby1.9.1Ubuntu
Fixed in:1.9.3.484-2ubuntu1.14USN-3945-1
libruby2.0Ubuntu
Fixed in:2.0.0.484-1ubuntu2.13USN-3945-1
libruby2.3Ubuntu
Fixed in:2.3.1-2~16.04.12USN-3945-1
libruby2.5Ubuntu
Fixed in:2.5.1-1ubuntu1.2USN-3945-1
ruby1.9.1Ubuntu
Fixed in:1.9.3.484-2ubuntu1.14USN-3945-1
ruby1.9.3Ubuntu
Fixed in:1.9.3.484-2ubuntu1.14USN-3945-1
ruby2.0Ubuntu
Fixed in:2.0.0.484-1ubuntu2.13USN-3945-1
ruby2.3Ubuntu
Fixed in:2.3.1-2~16.04.12USN-3945-1
ruby2.5Ubuntu
Fixed in:2.5.1-1ubuntu1.2USN-3945-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Exploit Intelligence

4.21%probability of exploitation in 30 days
90thpercentile

Elevated risk: more likely to be exploited than 90% of all known CVEs.

References

Related Vulnerabilities

Other CWE-22 (Path Traversal) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-23897Critical9.8100%KEV + RansomFix
CVE-2023-32315High8.6100%KEVFix
CVE-2022-29464Critical9.8100%KEV + Ransom-
CVE-2021-26086Medium5.3100%KEVFix
CVE-2021-22005Critical9.8100%KEV + RansomFix
CVE-2020-5902Critical9.8100%KEV + RansomFix
Embed a live status badge for CVE-2019-8320
CVE-2019-8320 severity badge

Markdown

[![CVE-2019-8320](https://tridentstack.com/cve/badge/CVE-2019-8320.svg)](https://tridentstack.com/cve/CVE-2019-8320)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-8320"><img src="https://tridentstack.com/cve/badge/CVE-2019-8320.svg" alt="CVE-2019-8320"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.