CVE-2019-8321
HIGH 7.5CVSS 3.1RubyGems Escape sequence injection vulnerability in verbose
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.
- Published
- 17 Jun 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-88
- Also known as
- GHSA-fr32-gr5c-xq5c
- Sources
- NVDJSONOSV GHSA-fr32-gr5c-xq5cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubygems | rubygemscpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* |
>= 2.6.0, <= 3.0.2 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* |
= 15.0 | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| OSV | RubyGems | rubygems-update | >= 2.6.0, < 2.7.9 | 2.7.9 |
| OSV | RubyGems | rubygems-update | >= 3.0.0, < 3.0.2 | 3.0.2 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html · Mailing List, Third Party Advisory, WEB
- https://hackerone.com/reports/317330 · Permissions Required, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-8321 · ADVISORY
- https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2019-8321.yml · WEB
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 17 Jun 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Jun 2019)