CVE-2019-8324

HIGHCVSS 8.8/10EPSS 3.22%

Last modified

CVE-2019-8324 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. EPSS estimates a 3.22% chance of exploitation in the next 30 days.

Description

An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.

Metrics

CVSS 3.1
8.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
3.22%

86.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RubygemsRubygems>= 2.6.0, <= 3.0.2
DebianDebian Linux9.0
OpensuseLeap15.0
OpensuseLeap15.1
RedhatEnterprise Linux8.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-8324?
An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.
How severe is CVE-2019-8324?
CVE-2019-8324 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 3.22% probability of exploitation in the next 30 days.
How do I fix CVE-2019-8324?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-8324?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST