ADVISORIES

Vulnerability

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.

24 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALAS2-2019-1249

    Amazon Linux 2 2017.12 - ALAS2-2019-1249: important priority package update for ruby

    Important CVE-2019-8322CVE-2019-8323CVE-2019-8324CVE-2019-8325 Amazon Linux Updated 22 July 2019
  • ALPINE-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…

    CVE-2019-8324 Alpine Updated 21 September 2026
  • ALSA-2019:1972

    Important: ruby:2.5 security update

    CVE-2019-8324 AlmaLinux Updated 29 October 2026
  • DEBIAN-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…

    CVE-2019-8324 Debian Updated 21 September 2026
  • DLA-1735-1

    ruby2.1 - security update

    CVE-2019-8320CVE-2019-8322CVE-2019-8323CVE-2019-8324 Debian Updated 20 November 2026
  • DLA-1796-1

    jruby - security update

    CVE-2018-1000074CVE-2018-1000075CVE-2018-1000076CVE-2018-1000077 Debian Updated 20 November 2026
  • DLA-2330-1

    jruby - security update

    CVE-2017-17742CVE-2019-16201CVE-2019-16254CVE-2019-16255 Debian Updated 20 November 2026
  • DSA-4433-1

    ruby2.3 - security update

    CVE-2019-8320CVE-2019-8321CVE-2019-8322CVE-2019-8323 Debian Updated 20 November 2026
  • ELSA-2019-1235

    ELSA-2019-1235: ruby security update (IMPORTANT)

    Important CVE-2019-8322CVE-2019-8323CVE-2019-8324CVE-2019-8325 Oracle Linux Updated 16 May 2019
  • ELSA-2019-1972

    ELSA-2019-1972: ruby:2.5 security update (IMPORTANT)

    Important CVE-2019-8324 Oracle Linux Updated 5 August 2019
  • GHSA-76wm-422q-92mq

    Code injection in RubyGems

    High CVE-2019-8324 RubyGems Updated 16 February 2024
  • RHSA-2019:1148

    Red Hat Security Advisory: rh-ruby25-ruby security, bug fix, and enhancement update

    CVE-2019-8320CVE-2019-8321CVE-2019-8322CVE-2019-8323 Red Hat Updated 13 November 2026
  • RHSA-2019:1150

    Red Hat Security Advisory: rh-ruby24-ruby security, bug fix, and enhancement update

    CVE-2019-8320CVE-2019-8321CVE-2019-8322CVE-2019-8323 Red Hat Updated 13 November 2026
  • RHSA-2019:1151

    Red Hat Security Advisory: rh-ruby23-ruby security update

    CVE-2019-8324 Red Hat Updated 13 November 2026
  • RHSA-2019:1235

    Red Hat Security Advisory: ruby security update

    CVE-2019-8321CVE-2019-8322CVE-2019-8323CVE-2019-8324 Red Hat Updated 13 November 2026
  • RHSA-2019:1429

    Red Hat Security Advisory: CloudForms 4.7.5 security, bug fix and enhancement update

    CVE-2019-8320CVE-2019-8321CVE-2019-8322CVE-2019-8323 Red Hat Updated 13 November 2026
  • RHSA-2019:1972

    Red Hat Security Advisory: ruby:2.5 security update

    CVE-2019-8324 Red Hat Updated 13 November 2026
  • RHSA-2020:2769

    Red Hat Security Advisory: ruby security update

    CVE-2018-16396CVE-2019-8321CVE-2019-8322CVE-2019-8323 Red Hat Updated 23 November 2026
  • RLSA-2019:1972

    Important: ruby:2.5 security update

    CVE-2019-8324 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2019:1804-1

    Security update for ruby-bundled-gems-rpmhelper, ruby2.5

    CVE-2017-17742CVE-2018-1000073CVE-2018-1000074CVE-2018-1000075 SUSE Updated 4 February 2026
  • SUSE-SU-2020:1570-1

    Security update for ruby2.1

    CVE-2015-9096CVE-2016-2339CVE-2016-7798CVE-2017-0898 SUSE Updated 4 February 2026
  • UBUNTU-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…

    CVE-2019-8324 Ubuntu Updated 22 April 2026
  • USN-3945-1

    ruby1.9.1, ruby2.0, ruby2.3, ruby2.5 vulnerabilities

    CVE-2019-8320CVE-2019-8321CVE-2019-8322CVE-2019-8323 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2019:1771-1

    Security update for ruby-bundled-gems-rpmhelper, ruby2.5

    CVE-2017-17742CVE-2018-1000073CVE-2018-1000074CVE-2018-1000075 openSUSE Updated 4 February 2026

References