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.
What to do
- Apply the vendor's security update for Rubygems.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rubygems | rubygems | ≥ 2.6.0 ≤ 3.0.2 |
| debian | debian_linux | 9.0 |
| opensuse | leap | 15.0 |
| opensuse | leap | 15.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- hackerone.com Permissions Required Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory