cve.bz

CVE-2019-8322 Injection

7.5 highEPSS 3.3%Fix available

High (7.5). EPSS 3.3% estimated probability of exploitation activity in the next 30 days. Fixed in rubygems-update 2.7.9, 3.0.2.

On this page
An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
3.3% (unchanged from 3.3% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-8322 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-8322?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-8322?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-8322 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rubygems:rubygemsfrom 2.6.0 through 3.0.2
debian:debian_linux9.0
opensuse:leap15.0
opensuse:leap15.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mh37-8c3g-3fgcRubyGemsrubygems-update>=2.6.0 <2.7.92.7.9
GHSA-mh37-8c3g-3fgcRubyGemsrubygems-update>=3.0.0 <3.0.23.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8jruby1.5.6-9+deb8u1DLA-1796-1
Debian8ruby2.12.1.5-2+deb8u7DLA-1735-1
Debian9jruby1.7.26-1+deb9u2DLA-2330-1
Debian9ruby2.32.3.3-1+deb9u6DSA-4433-1
Debian12, 13, 14jruby9.1.17.0-3DEBIAN-CVE-2019-8322
Debian12, 13, 14rubygems3.2.0~rc.1-1DEBIAN-CVE-2019-8322
Ubuntu14.04:LTSruby1.9.11.9.3.484-2ubuntu1.14UBUNTU-CVE-2019-8322 USN-3945-1
Ubuntu14.04:LTSruby2.02.0.0.484-1ubuntu2.13UBUNTU-CVE-2019-8322 USN-3945-1
Ubuntu16.04:LTSruby2.32.3.1-2~16.04.12UBUNTU-CVE-2019-8322 USN-3945-1
Ubuntu18.04:LTSjrubyno fix listedUBUNTU-CVE-2019-8322
Ubuntu18.04:LTSruby2.52.5.1-1ubuntu1.2UBUNTU-CVE-2019-8322 USN-3945-1
UbuntuPro:14.04:LTSjruby1.5.6-9+deb8u2build0.14.04.1~esm2UBUNTU-CVE-2019-8322
Red Hatcloudforms_managementengine:5.10::el7cfme, cfme-gemset, cfme-appliance and 6 more0:5.10.5.1-1.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7ruby, ruby-doc, ruby-irb and 3 more0:2.4.6-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-bigdecimal0:1.3.2-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-did_you_mean0:1.1.0-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-io-console0:0.4.6-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-minitest0:5.10.1-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-net-telnet0:0.1.1-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-openssl0:2.0.9-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-power_assert0:0.4.1-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-psych0:2.2.2-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-rake0:12.0.0-91.el7cfRHSA-2019:1429
Red Hatcloudforms_managementengine:5.10::el7rubygem-rdoc0:5.0.0-91.el7cfRHSA-2019:1429
87 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 14 moreruby2.12.1.9-19.3.2SUSE-SU-2020:1570-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1ruby2.52.5.5-4.3.1SUSE-SU-2019:1804-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 moreyast2-ruby-bindings3.1.53-9.8.1SUSE-SU-2020:1570-1
openSUSELeap 15.0, Leap 15.1ruby-bundled-gems-rpmhelper0.0.2-lp151.2.1openSUSE-SU-2019:1771-1
openSUSELeap 15.0, Leap 15.1ruby2.52.5.5-lp151.4.3.1openSUSE-SU-2019:1771-1
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2623+08a8ba32ALBA-2019:3384
AlmaLinux8rubygem-abrt, rubygem-abrt-doc0.3.0-4.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux8rubygem-mongo, rubygem-mongo-doc2.5.1-2.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux8rubygem-mysql2, rubygem-mysql2-doc0.4.10-4.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux8rubygem-mysql2, rubygem-mysql2-doc0.4.10-4.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux8rubygem-pg, rubygem-pg-doc1.0.0-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux8rubygem-pg, rubygem-pg-doc1.0.0-2.module_el8.5.0+2625+ec418553ALBA-2019:3384
Alpinev3.6, v3.7ruby2.4.6-r0ALPINE-CVE-2019-8322
Alpinev3.8, v3.9ruby2.5.5-r0ALPINE-CVE-2019-8322

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
CloudForms Management Engine 5.10cfme-0:5.10.5.1-1.el7cfFixed 2019-06-11RHSA-2019:1429
CloudForms Management Engine 5.10cfme-amazon-smartstate-0:5.10.5.1-1.el7cfFixed 2019-06-11RHSA-2019:1429
CloudForms Management Engine 5.10cfme-appliance-0:5.10.5.1-1.el7cfFixed 2019-06-11RHSA-2019:1429
CloudForms Management Engine 5.10cfme-gemset-0:5.10.5.1-1.el7cfFixed 2019-06-11RHSA-2019:1429
CloudForms Management Engine 5.10ruby-0:2.4.6-91.el7cfFixed 2019-06-11RHSA-2019:1429
Red Hat Enterprise Linux 7ruby-0:2.0.0.648-35.el7_6Fixed 2019-05-15RHSA-2019:1235
Red Hat Enterprise Linux 7.4 Advanced Update Supportruby-0:2.0.0.648-37.el7_4Fixed 2020-06-30RHSA-2020:2769
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportruby-0:2.0.0.648-37.el7_4Fixed 2020-06-30RHSA-2020:2769
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionsruby-0:2.0.0.648-37.el7_4Fixed 2020-06-30RHSA-2020:2769
Red Hat Enterprise Linux 8ruby:2.5-8010020190711131821.cdc1202bFixed 2019-11-05RHBA-2019:3384
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-ruby24-ruby-0:2.4.6-92.el6Fixed 2019-05-13RHSA-2019:1150
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby25-ruby-0:2.5.5-7.el7Fixed 2019-05-13RHSA-2019:1148
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-ruby24-ruby-0:2.4.6-92.el7Fixed 2019-05-13RHSA-2019:1150
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-ruby25-ruby-0:2.5.5-7.el7Fixed 2019-05-13RHSA-2019:1148
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSrh-ruby24-ruby-0:2.4.6-92.el7Fixed 2019-05-13RHSA-2019:1150
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-ruby25-ruby-0:2.5.5-7.el7Fixed 2019-05-13RHSA-2019:1148
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSrh-ruby24-ruby-0:2.4.6-92.el7Fixed 2019-05-13RHSA-2019:1150
Red Hat Enterprise Linux 6rubygemsWill not fix
Red Hat Software Collectionsrh-ruby23-rubyFix deferred
Red Hat Software Collectionsrh-ruby26-rubyNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-8322.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON