{"id":"CVE-2019-8324","published":"2019-06-17T18:59:30Z","modified":"2024-08-04T21:17:31Z","title":"An issue was discovered in RubyGems 2.6 and later through 3.0.2","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.03219,"percentile":0.88525,"provenance":"source"},"cwes":[],"references":[{"url":"https://hackerone.com/reports/328571","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1972","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":17.7}]},"affected":[{"ecosystem":"RubyGems","package":"rubygems-update","vulnerableRanges":[">=2.6.0, <2.7.9",">=3.0.0, <3.0.2"],"patched":["2.7.9","3.0.2"],"from":["GHSA-76wm-422q-92mq"],"provenance":"source"}],"summary":{"text":"The flaw lies in RubyGems, in the handling of multi-line gem names, affecting versions from 2.6 through 3.0.2. A crafted gem with a multi-line name causes arbitrary code to be injected into the gemspec's stub line, which is then evaluated by the ensure_loadable_spec preinstall check, so an attacker who can get a malicious gem installed could run code during that check.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:56Z"},"euvd":{"id":"EUVD-2019-0514","exploited":false,"provenance":"source"}}