Live threats
VulnFox

All CVEs / Rubygems

CVE-2019-8321Rubygems

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 17, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::UserInteraction#verbose calls say without escaping, escape sequence injection is possible.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rubygems.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rubygems-update ≥ 2.6.0 < 2.7.9 2.7.9 gem "rubygems-update", ">= 2.7.9"
RubyGems rubygems-update ≥ 3.0.0 < 3.0.2 3.0.2 gem "rubygems-update", ">= 3.0.2"

Per OSV / GitHub Advisories (GHSA-fr32-gr5c-xq5c). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubygemsrubygems≥ 2.6.0 ≤ 3.0.2
debiandebian_linux9.0
opensuseleap15.0
opensuseleap15.1

Official sources

References

Links published by the sources. Open them with care.