logo

CVE-2019-8324 rubygems-update

Package

Manager: gem
Name: rubygems-update
Vulnerable Version: >=2.6.0 <2.7.9 || >=3.0.0 <3.0.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00511 pctl0.65446

Details

Code injection in RubyGems 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.

Metadata

Created: 2019-06-20T16:06:11Z
Modified: 2021-08-17T13:42:04Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-76wm-422q-92mq/GHSA-76wm-422q-92mq.json
CWE IDs: ["CWE-94"]
Alternative ID: GHSA-76wm-422q-92mq
Finding: F422
Auto approve: 1