Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.5
CVE-2019-8321: RubyGems allows malicious output to be displayed to users
CVE-2019-8321 · published 7 years ago
Summary
RubyGems, a package manager for Ruby, has a security issue that could allow an attacker to display misleading or malicious information to users. This could potentially confuse users and undermine trust in the package manager. To protect yourself, update to the latest version of RubyGems.
What to do
- Update jim weirich rubygems-update to version 2.7.9.
- Update jim weirich rubygems-update to version 3.0.2.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| rubygems | jim weirich | rubygems-update |
>= 2.6.0, < 2.7.9 >= 3.0.0, < 3.0.2 Fix: upgrade to 2.7.9
|
| – | rubygems | rubygems |
>= 2.6.0, <= 3.0.2 cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* |
| – | debian | debian_linux |
9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| – | opensuse | leap |
15.0 15.1 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* |
Original advisory text
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.
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-8321
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE...
- https://github.com/advisories/GHSA-fr32-gr5c-xq5c
- https://hackerone.com/reports/317330 Permissions Required Third Party Advisory
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Timeline
Published17 Jun 2019
Updated4 Nov 2026
First seen6 Mar 2026
Track software like this
Free during beta