CVE-2018-1000075
rubygems: Infinite loop vulnerability due to negative size in tar header causes Denial of Service
Overview
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 infinite loop caused by negative size vulnerability in ruby gem package tar header that can result in a negative size could cause an infinite loop.. This vulnerability appears to have been fixed in 2.7.6.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-835
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.jruby:jruby-stdlib | <9.1.16.0 | 9.1.16.0 |
| RubyGems | rubygems-update | <2.7.6 | 2.7.6 |
Open a package to see all its vulnerabilities.
Operating systems · 102 fixes
Oracle Linux 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | rubygem-io-console | 0.4.2-36.el7 |
| 7 | rubygem-rake | 0.9.6-36.el7 |
| 7 | rubygem-bigdecimal | 1.2.0-36.el7 |
| 7 | rubygem-json | 1.7.7-36.el7 |
| 7 | rubygem-psych | 2.0.0-36.el7 |
| 7 | ruby +5 | 2.0.0.648-36.el7 |
3 more rows
Red Hat 1 release · 52 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-ruby25-rubygem-net-telnet | 0:0.1.1-6.el7 | RHSA-2018:3731 |
| 7 | rh-ruby23-rubygem-net-telnet | 0:0.1.1-69.el7 | RHSA-2018:3729 |
| 7 | rh-ruby24-rubygem-net-telnet | 0:0.1.1-91.el7 | RHSA-2018:3730 |
| 7 | rh-ruby24-rubygem-xmlrpc | 0:0.2.1-91.el7 | RHSA-2018:3730 |
| 7 | rh-ruby23-rubygem-power-assert | 0:0.2.6-69.el7 | RHSA-2018:3729 |
| 7 | rh-ruby25-rubygem-xmlrpc | 0:0.3.0-6.el7 | RHSA-2018:3731 |
73 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libruby2-1-2-1 +3 | 2.1.9-19.3.2 | SUSE-SU-2020:1570-1 |
debian 5 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | rubygems | 3.2.0~rc.1-1 |
| 12 | rubygems | 3.2.0~rc.1-1 |
| 12 | jruby | 9.1.17.0-1 |
| 13 | rubygems | 3.2.0~rc.1-1 |
| 13 | jruby | 9.1.17.0-1 |
| 14 | rubygems | 3.2.0~rc.1-1 |
3 more rows
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| rubygems | 3.2.0~rc.1-1 | |
| jruby | 9.1.17.0-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | ruby2-5 | 2.5.1-1 |
| 18.04-ESM | ruby2-5 | 2.5.1-1 |
References
- blog.rubygems.org http://blog.rubygems.org/2018/02/15/2.7.6-released.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3729
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3730
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3731
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:2028
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0542
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0591
- access.redhat.com https://access.redhat.com/errata/RHSA-2020:0663
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-1000075
Show all 28 references
- github.com https://github.com/jruby/jruby/commit/0b06b48ab4432237ce5fc1bef47f2c6bcf7843f7
- github.com https://github.com/rubygems/rubygems/commit/5971b486d4dbb2bad5d3445b3801c456eb0ce183
- github.com https://github.com/rubygems/rubygems/commit/92e98bf8f810bd812f919120d4832df51bc25d83
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-1000075.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2019-2028.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/04/msg00000.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/04/msg00001.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/05/msg00028.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-1000075
- ubuntu.com https://ubuntu.com/security/notices/USN-3621-1
- usn.ubuntu.com https://usn.ubuntu.com/3621-1
- usn.ubuntu.com https://usn.ubuntu.com/3621-1/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-1000075
- www.debian.org https://www.debian.org/security/2018/dsa-4219
- www.debian.org https://www.debian.org/security/2018/dsa-4259
- www.ruby-lang.org https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.