Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2019-8320

7.4 · HIGH
Published Jun 6, 2019 rubygems CWE-22 EPSS 4.21% (90th pctl)

Overview

CVE-2019-8320 is a high-severity vulnerability affecting rubygems rubygems. It was published on June 6, 2019 and has a CVSS 3.0 base score of 7.4 (HIGH).

This vulnerability has a CVSS 3.0 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from rubygems. Update rubygems to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
rubygems rubygems 2.7.6 Affected

Frequently Asked Questions

What is CVE-2019-8320?

CVE-2019-8320 is a high-severity vulnerability affecting rubygems rubygems. It was published on June 6, 2019 and has a CVSS 3.0 base score of 7.4 (HIGH).

How severe is CVE-2019-8320?

This vulnerability has a CVSS 3.0 base score of 7.4, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2019-8320?

Check the references section for vendor advisories and patches from rubygems. Update rubygems to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2019-8320?

CyberStrike's AI-powered security agents can automatically detect CVE-2019-8320 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.