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/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubygems | Rubygems | >= 2.6.0, <= 3.0.2 |
| Debian | Debian Linux | 9.0 |
| Opensuse | Leap | 15.0 |
| Opensuse | Leap | 15.1 |
| Redhat | Enterprise Linux | 8.0 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlMailing List, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1972Third Party Advisory
- https://hackerone.com/reports/328571Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlMailing List, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1972Third Party Advisory
- https://hackerone.com/reports/328571Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlMailing List, Third Party Advisory
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 nowSource: NVD / NIST
