CVE-2019-8321:
RubyGems Escape sequence injection vulnerability in verbose
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.48608%
CWE
Published
6/20/2019
Updated
8/28/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
rubygems-update | rubygems | >= 2.6.0, < 2.7.9 | 2.7.9 |
rubygems-update | rubygems | >= 3.0.0, < 3.0.2 | 3.0.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly states that 'Gem::UserInteraction#verbose calls say without escaping', making it the direct source of the injection flaw. Multiple authoritative sources (CVE description, RubyGems blog post, and ruby-advisory-db entry) confirm this root cause. The lack of output sanitization in this method matches the CWE-88 pattern of argument injection via unneutralized special elements.