It was found that rubygems did not sanitize gem names during installation of a given gem. A specially crafted gem could use this flaw to install files outside of the regular directory.
Find out more about CVE-2017-0901 from the MITRE CVE dictionary dictionary and NIST NVD.
This issue affects the versions of ruby as shipped with Red Hat Enterprise Linux 6, and 7 and the versions of rh-ruby22-ruby and rh-ruby23-ruby as shipped with Red Hat Software Collections. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
CVSS3 Base Score | 6.5 |
---|---|
CVSS3 Base Metrics | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Attack Vector | Network |
Attack Complexity | Low |
Privileges Required | None |
User Interaction | Required |
Scope | Unchanged |
Confidentiality | None |
Integrity Impact | High |
Availability Impact | None |
Platform | Errata | Release Date |
---|---|---|
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-ruby23-ruby) | RHSA-2018:0585 | 2018-03-26 |
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-ruby22-ruby) | RHSA-2018:0583 | 2018-03-26 |
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-ruby22-ruby) | RHSA-2018:0583 | 2018-03-26 |
Red Hat Software Collections for Red Hat Enterprise Linux 6 (rh-ruby24-ruby) | RHSA-2017:3485 | 2017-12-19 |
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-ruby24-ruby) | RHSA-2017:3485 | 2017-12-19 |
Red Hat Software Collections for Red Hat Enterprise Linux 7 (rh-ruby23-ruby) | RHSA-2018:0585 | 2018-03-26 |
Red Hat Enterprise Linux 7 (ruby) | RHSA-2018:0378 | 2018-02-28 |
Platform | Package | State |
---|---|---|
Red Hat Subscription Asset Manager 1 | ruby193-rubygems | Will not fix |
Red Hat Satellite 6 | rubygems | Will not fix |
Red Hat Enterprise MRG 2 | rubygems | Will not fix |
Red Hat Enterprise Linux 6 | rubygems | Will not fix |