HIGH SEVERITY

CVE-2019-8320

Rubygems vulnerability

CVSS
7.4
EPSS
4.2%
EPSS pct
90th
Exploited
No known
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.
Affected vendor
Rubygems
Affected product
Rubygems
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness type (CWE)
Published
2019-06-06

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, high attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to integrity, high impact to availability.

Its EPSS score of 4.2% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 90% of all scored CVEs.

Check your external exposure to CVE-2019-8320

  • Confirm whether Rubygems Rubygems is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2019-8320.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2019-8320

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2019-8320 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2019-8320?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2019-8320.

Start free scan

No credit card. Agentless.