VDB

CVE-2019-8324

CVE-2019-8324 PUBLISHED CVSS 8.800000190734863 HIGH

Code injection in RubyGems

Reported by mitre · Published June 17, 2019

rubygems-update is fixed in 3.0.2 and 2.7.9 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubygems-updateRubyGems3.0.2, 2.7.9
rubygemsAmazon Linux2.0.14.1-35.amzn2.0.1
rubygem-bigdecimalAmazon Linux1.2.0-35.amzn2.0.1
ruby-docAmazon Linux2.0.0.648-35.amzn2.0.1
ruby-libsAmazon Linux2.0.0.648-35.amzn2.0.1
ruby-develAmazon Linux2.0.0.648-35.amzn2.0.1
rubyAlpine2.5.5-r0, 2.4.6-r0
rubygem-io-consoleAmazon Linux0.4.2-35.amzn2.0.1
ruby-tcltkAmazon Linux2.0.0.648-35.amzn2.0.1
rubygem-minitestAmazon Linux4.3.2-35.amzn2.0.1
rubygem-rdocAmazon Linux4.0.0-35.amzn2.0.1
rubygem-rakeAmazon Linux0.9.6-35.amzn2.0.1

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
RubyGemsrubygems-update2.6.0
amazon:2rubygems0
amazon:2rubygem-bigdecimal0
amazon:2ruby-doc0
amazon:2ruby-libs0
amazon:2ruby-devel0
alpineruby0, 0
amazon:2rubygem-io-console0
amazon:2ruby-tcltk0
amazon:2rubygem-minitest0
amazon:2rubygem-rdoc0
amazon:2rubygem-rake0
amazon:2ruby-irb0
amazon:2rubygems-devel0
n/an/a*
amazon:2rubygem-json0
amazon:2ruby0
amazon:2rubygem-psych0

Timeline

  • Mar 27, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Oct 24, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (5 in total, the first dated here)
  • Sep 7, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-8324
vulnetix vdb fixes CVE-2019-8324

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-8324/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›