synced 13 MIN AGO
01 Record

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
3.21% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 88.1% of scored records. A rank, not a probability.
NVD base score
8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2019-06-17 18:59Z7 YR AGO
Last updated
2024-08-04 21:17Z2 YR AGO
Reserved
2019-02-13
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-94Improper Control of Generation of Code ('Code Injection')Base
  • CWE-20Improper Input ValidationClass
Data version
5.1
Document digest
d55054452480946cfff6218b197afcbd1937143c16c58398788109b6197aaa91

05 Affected products

VendorProductVersionsPlatforms
debiandebian_linuxNot specified—
opensuseleapNot specified—
redhatcloudforms_managementengineNot specified—
redhatenterprise_linuxNot specified—
redhatrhel_ausNot specified—
redhatrhel_e4sNot specified—
redhatrhel_software_collectionsNot specified—
redhatrhel_tusNot specified—
rubygemsrubygemsNot specified—

06 References

07 Fixed in

AlmaLinux 8

  • rubygem-abrt
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
  • rubygem-abrt-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
  • rubygem-bson
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
  • rubygem-bson-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
  • rubygem-mongo
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mongo-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mysql2
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
  • rubygem-mysql2-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
  • rubygem-pg
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
  • rubygem-pg-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • rubygem-abrt
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
  • rubygem-abrt-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.3.0-4.module_el8.5.0+259+8cec6917
    • Affected before 0.3.0-4.module_el8.5.0+2623+08a8ba32
  • rubygem-bson
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
  • rubygem-bson-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 4.3.0-2.module_el8.5.0+259+8cec6917
    • Affected before 4.3.0-2.module_el8.5.0+2625+ec418553
  • rubygem-mongo
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mongo-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.5.1-2.module_el8.5.0+259+8cec6917
    • Affected before 2.5.1-2.module_el8.5.0+2625+ec418553
  • rubygem-mysql2
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
  • rubygem-mysql2-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 0.4.10-4.module_el8.5.0+259+8cec6917
    • Affected before 0.4.10-4.module_el8.5.0+2625+ec418553
  • rubygem-pg
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553
  • rubygem-pg-doc
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1.0.0-2.module_el8.5.0+259+8cec6917
    • Affected before 1.0.0-2.module_el8.5.0+2625+ec418553

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • jruby
    Fixed in 9.1.17.0-3
  • rubygems
    Fixed in 3.2.0~rc.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • jruby
    Fixed in 9.1.17.0-3
  • rubygems
    Fixed in 3.2.0~rc.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • jruby
    Fixed in 9.1.17.0-3
  • rubygems
    Fixed in 3.2.0~rc.1-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • ruby1.9.1
    Fixed in 1.9.3.484-2ubuntu1.14
  • ruby2.0
    Fixed in 2.0.0.484-1ubuntu2.13

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • ruby2.3
    Fixed in 2.3.1-2~16.04.12

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • jruby
    No fix yet
  • ruby2.5
    Fixed in 2.5.1-1ubuntu1.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 14.04 LTS

  • jruby
    Fixed in 1.5.6-9+deb8u2build0.14.04.1~esm2
    Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.