CVE-2019-8323
HIGH 7.5CVSS 3.1RubyGems Escape sequence injection vulnerability in api response handling
An issue was discovered in RubyGems 2.6 and later through 3.0.2. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur.
- Published
- 17 Jun 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-3h4r-pjv6-cph9
- Sources
- NVDJSONOSV GHSA-3h4r-pjv6-cph9JSON
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/315081 · Permissions Required, Third Party Advisory, WEB
- 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-8323 · 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-8323.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)