Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubygems | Rubygems | >= 2.6.0, <= 3.0.2 |
| Debian | Debian Linux | 9.0 |
| Opensuse | Leap | 15.0 |
| Redhat | Enterprise Linux | 8.0 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlMailing ListThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1972Third Party Advisory
- https://hackerone.com/reports/328571Permissions RequiredThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlMailing ListThird Party Advisory
- https://access.redhat.com/errata/RHSA-2019:1972Third Party Advisory
- https://hackerone.com/reports/328571Permissions RequiredThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlMailing ListThird Party Advisory
FAQ
What is CVE-2019-8324?
CVE-2019-8324 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 g...
How severe is CVE-2019-8324?
CVE-2019-8324 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-8324?
Check the references section above for vendor advisories and patch information. Affected products include: Rubygems Rubygems, Debian Debian Linux, Opensuse Leap, Redhat Enterprise Linux.