CVE-2019-8324
Advisory lineage Upstream: 0 Downstream: 20
Modified
Published: 17 Jun 2019, 18:59
Last modified:04 Aug 2024, 21:17
Vulnerability Summary
Overall Risk (default)
medium
35/100 CVSS Score
8.8 HIGH
v3.1 (nvd)
EPSS Score
0.5% LOW
1% probability -0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
17 Jun 2019, 18:59
Published
Vulnerability first disclosed
04 Aug 2024, 21:17
Last Modified
Vulnerability information updated
Description
An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.
CVSS Metrics
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.50%• Percentile: 66%
Techniques & Countermeasures
- CWE-94•Improper Control of Generation of Code ('Code Injection')
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected Systems
- debian•debian_linux
9.0
- opensuse•leap
15.0 | 15.1
- redhat•enterprise_linux
8.0
- rubygems•rubygems
≥ 2.6.0, ≤ 3.0.2