Modified
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
Current Description
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6.
Source:
MITRE
Description Last Modified:
03/13/2018
View Analysis Description
Analysis Description
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6.
Source:
MITRE
Description Last Modified:
03/13/2018
Impact
CVSS v3.0 Severity and Metrics:
Base Score:
5.5 MEDIUM
Vector:
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
(V3 legend)
Impact Score:
3.6
Exploitability Score:
1.8
Attack Vector (AV):
Local
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
Required
Scope (S):
Unchanged
Confidentiality (C):
None
Integrity (I):
High
Availability (A):
None
CVSS v2.0 Severity and Metrics:
Base Score:
4.3 MEDIUM
Vector:
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
(V2 legend)
Impact Subscore:
2.9
Exploitability Subscore:
8.6
Access Vector (AV):
Network
Access Complexity (AC):
Medium
Authentication (AU):
None
Confidentiality (C):
None
Integrity (I):
Partial
Availability (A):
None
Additional Information:
Victim must voluntarily interact with attack mechanism
Allows unauthorized modification
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because
they may have information that would be of interest to you. No inferences should be drawn on account of other sites
being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose.
NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further,
NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about
this page to nvd@nist.gov.
Change History
5 change records found
- show changes
CVE Modified by MITRE -
8/2/2018 9:29:02 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
https://www.debian.org/security/2018/dsa-4259 [No Types Assigned] |
CVE Modified by MITRE -
7/14/2018 9:29:03 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html [No Types Assigned] |
CVE Modified by MITRE -
6/9/2018 9:29:01 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
https://www.debian.org/security/2018/dsa-4219 [No Types Assigned] |
CVE Modified by MITRE -
4/6/2018 9:29:06 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
https://usn.ubuntu.com/3621-1/ [No Types Assigned] |
Initial Analysis -
4/5/2018 10:31:42 AM
| Action |
Type |
Old Value |
New Value |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* versions up to (including) 2.2.9 |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* versions up to (including) 2.3.6 |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* versions up to (including) 2.4.3 |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* versions up to (including) 2.5.0 |
| Added |
CVSS V2 |
|
(AV:N/AC:M/Au:N/C:N/I:P/A:N) |
| Added |
CVSS V2 Metadata |
|
Victim must voluntarily interact with attack mechanism |
| Added |
CVSS V3 |
|
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Added |
CWE |
|
CWE-22 |
| Changed |
Reference Type |
http://blog.rubygems.org/2018/02/15/2.7.6-released.html No Types Assigned |
http://blog.rubygems.org/2018/02/15/2.7.6-released.html Vendor Advisory |
| Changed |
Reference Type |
https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099 No Types Assigned |
https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099 Patch, Third Party Advisory |
| Changed |
Reference Type |
https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759 No Types Assigned |
https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759 Patch, Third Party Advisory |