CVEfocus › CVE database › CVE-2019-8325

CVE-2019-8325

EPSS 3.3% (higher than 89% of CVEs)Published 2019-06-17Updated 2024-08-04Assigner: mitre

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::CommandManager#run calls alert_error without escaping, escape sequence injection is possible. (There are many ways to cause an error.)

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

72Fixed
2Fix pending
1Will not fix
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 25.10jrubyNot affected
vulnerable_code_not_present
Ubuntu 24.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 20.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 18.04jrubyFix pendingUBUNTU-CVE-2019-8325
Ubuntu 18.04ruby2.5Fixed2.5.1-1ubuntu1.2UBUNTU-CVE-2019-8325
Ubuntu 16.04jrubyNot affected
vulnerable_code_not_present
Ubuntu 16.04ruby2.3Fixed2.3.1-2~16.04.12UBUNTU-CVE-2019-8325
Ubuntu 14.04jrubyFix pending1.5.6-9+deb8u2build0.14.04.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2019-8325
Ubuntu 14.04ruby1.9.1Fixed1.9.3.484-2ubuntu1.14UBUNTU-CVE-2019-8325
Ubuntu 14.04ruby2.0Fixed2.0.0.484-1ubuntu2.13UBUNTU-CVE-2019-8325
Debian 14jrubyFixed9.1.17.0-3DEBIAN-CVE-2019-8325
Debian 14rubygemsFixed3.2.0~rc.1-1DEBIAN-CVE-2019-8325
Debian 13jrubyFixed9.1.17.0-3DEBIAN-CVE-2019-8325
Debian 13rubygemsFixed3.2.0~rc.1-1DEBIAN-CVE-2019-8325
Debian 12jrubyFixed9.1.17.0-3DEBIAN-CVE-2019-8325
Debian 12rubygemsFixed3.2.0~rc.1-1DEBIAN-CVE-2019-8325
Red Hat Enterprise Linux 8rubyFixed0:2.5.5-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8ruby-develFixed0:2.5.5-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8ruby-docFixed0:2.5.5-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8ruby-irbFixed0:2.5.5-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8ruby-libsFixed0:2.5.5-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-abrtFixed0:0.3.0-4.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-abrt-docFixed0:0.3.0-4.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-bigdecimalFixed0:1.3.4-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-bsonFixed0:4.3.0-2.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-bson-docFixed0:4.3.0-2.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-bundlerFixed0:1.16.1-3.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-bundler-docFixed0:1.16.1-3.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-did_you_meanFixed0:1.2.0-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-io-consoleFixed0:0.4.6-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-jsonFixed0:2.1.0-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-minitestFixed0:5.10.3-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-mongoFixed0:2.5.1-2.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-mongo-docFixed0:2.5.1-2.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-mysql2Fixed0:0.4.10-4.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-mysql2-docFixed0:0.4.10-4.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-net-telnetFixed0:0.1.1-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-opensslFixed0:2.1.2-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-pgFixed0:1.0.0-2.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-pg-docFixed0:1.0.0-2.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-power_assertFixed0:1.1.1-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-psychFixed0:3.0.2-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-rakeFixed0:12.3.0-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-rdocFixed0:6.0.1-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-test-unitFixed0:3.2.7-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygem-xmlrpcFixed0:0.3.0-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygemsFixed0:2.7.6.2-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 8rubygems-develFixed0:2.7.6.2-105.module+el8.1.0+3656+f80bfa1dRHBA-2019:3384
Red Hat Enterprise Linux 7rubyFixed0:2.0.0.648-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7ruby-develFixed0:2.0.0.648-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7ruby-docFixed0:2.0.0.648-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7ruby-irbFixed0:2.0.0.648-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7ruby-libsFixed0:2.0.0.648-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7ruby-tcltkFixed0:2.0.0.648-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-bigdecimalFixed0:1.2.0-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-io-consoleFixed0:0.4.2-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-jsonFixed0:1.7.7-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-minitestFixed0:4.3.2-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-psychFixed0:2.0.0-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-rakeFixed0:0.9.6-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygem-rdocFixed0:4.0.0-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygemsFixed0:2.0.14.1-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 7rubygems-develFixed0:2.0.14.1-35.el7_6RHSA-2019:1235
Red Hat Enterprise Linux 6rubygemsWill not fix
Will not fix
AlmaLinux 8rubygem-abrtFixed0.3.0-4.module_el8.5.0+2623+08a8ba32ALBA-2019:3384
AlmaLinux 8rubygem-abrt-docFixed0.3.0-4.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux 8rubygem-bsonFixed4.3.0-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux 8rubygem-bson-docFixed4.3.0-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux 8rubygem-mongoFixed2.5.1-2.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux 8rubygem-mongo-docFixed2.5.1-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux 8rubygem-mysql2Fixed0.4.10-4.module_el8.5.0+2625+ec418553ALBA-2019:3384
AlmaLinux 8rubygem-mysql2-docFixed0.4.10-4.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux 8rubygem-pgFixed1.0.0-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
AlmaLinux 8rubygem-pg-docFixed1.0.0-2.module_el8.5.0+259+8cec6917ALBA-2019:3384
Alpine Linux 3.9rubyFixed2.5.5-r0ALPINE-CVE-2019-8325
Alpine Linux 3.8rubyFixed2.5.5-r0ALPINE-CVE-2019-8325
Alpine Linux 3.7rubyFixed2.4.6-r0ALPINE-CVE-2019-8325
Alpine Linux 3.6rubyFixed2.4.6-r0ALPINE-CVE-2019-8325
RubyGems libraryrubygems-updateFixed3.0.2GHSA-4wm8-fjv7-j774

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.