Skip to content

Commit e2f18e4

Browse files
committed
Security Advisories for RubyGems Mar, 2019.
1 parent 2bcc020 commit e2f18e4

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
layout: news_post
3+
title: "Multiple vulnerabilities in RubyGems"
4+
author: "hsbt"
5+
translator:
6+
date: 2018-03-05 00:00:00 +0000
7+
tags: security
8+
lang: en
9+
---
10+
11+
There are multiple vulnerabilities in RubyGems bundled by Ruby.
12+
It is [reported at the official blog of RubyGems](http://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html).
13+
14+
## Details
15+
16+
The following vulnerabilities have been reported.
17+
18+
* CVE-2019-8320: Delete directory using symlink when decompressing tar
19+
* CVE-2019-8321: Escape sequence injection vulnerability in `verbose`
20+
* CVE-2019-8322: Escape sequence injection vulnerability in `gem owner`
21+
* CVE-2019-8323: Escape sequence injection vulnerability in API response handling
22+
* CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
23+
* CVE-2019-8325: Escape sequence injection vulnerability in errors
24+
25+
It is strongly recommended for Ruby users to upgrade your Ruby installation or take one of the following workarounds as soon as possible.
26+
27+
## Affected Versions
28+
29+
* Ruby 2.4 series: 2.4.5 and earlier
30+
* Ruby 2.5 series: 2.5.3 and earlier
31+
* Ruby 2.6 series: 2.6.1 and earlier
32+
* prior to trunk revision XXXXXX
33+
34+
## Workarounds
35+
36+
In principle, you should upgrade your Ruby installation to the latest version.
37+
RubyGems 2.7.8, 3.0.3 or later includes the fix for the vulnerabilities, so upgrade RubyGems to the latest version if you can't upgrade Ruby itself.
38+
39+
```
40+
gem update --system
41+
```
42+
43+
If you can't upgrade RubyGems, you can apply the following patches as a workaround.
44+
45+
* [for Ruby 2.4.5]()
46+
* [for Ruby 2.5.3]()
47+
* [for Ruby 2.6.1]()
48+
49+
About the trunk, update to the latest revision.
50+
51+
## Credits
52+
53+
This report is based on [the official blog of RubyGems](http://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html).
54+
55+
## History
56+
57+
* Originally published at 2019-03-05 00:00:00 UTC

0 commit comments

Comments
 (0)