CVE-2018-1000079
RubyGems Path Traversal vulnerability
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 writing to arbitrary filesystem locations during installation. This attack appears to be exploitable via installation of a malicious gem. This vulnerability is fixed in 2.7.6.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jruby » jruby-stdlib | < 9.1.16.0 | 9.1.16.0 |
Blast radius
56% of the dependent artifacts (286) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 223 |
| 2 hops | 1,939 |
| 3 hops | 882 |
| 4 hops | 1,235 |
| 5 hops | 414 |
| 6 hops | 410 |
Most used dependents
- org.jruby » jruby-complete471 usages
- org.asciidoctor » asciidoctorj458 usages
- net.imagej » imagej174 usages
- org.jruby » jruby166 usages
- org.mule.modules » mule-module-scripting118 usages
- com.buschmais.jqassistant.plugin » common92 usages
- com.buschmais.jqassistant.core » report74 usages
- com.buschmais.jqassistant.core » store74 usages
- se.skltp.agp » agp-test-common65 usages
- se.skltp.agp » agp-core64 usages
- com.buschmais.jqassistant.core » scanner59 usages
- org.jruby » jruby-core51 usages
- com.buschmais.jqassistant.plugin » java49 usages
- ro.isdc.wro4j » wro4j-maven-plugin48 usages
- com.buschmais.jqassistant.core » plugin46 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects RubyGems (1 package) . See all on OSV
References
| Advisory | NVD CVE-2018-1000079 | nvd.nist.gov |
| Web | rubygems/rubygems commit f83f911 | github.com |
| Web | rubygems/rubygems commit 666ef79 | github.com |
| Web | jruby/jruby commit 0b06b48 | github.com |
| Web | rubygems/rubygems commit 5971b48 | github.com |
| Web | security/2018/dsa-4259 | debian.org |
| Web | security/2018/dsa-4219 | debian.org |
| Web | 3621-1 | usn.ubuntu.com |
| Web | tracker/CVE-2018-1000079 | security-tracker.debian.org |
| Web | debian-lts-announce/2018/07/msg00012.html | lists.debian.org |
| Web | cgi-bin/bugreport.cgi | bugs.debian.org |
| Web | errata/RHSA-2020:0663 | access.redhat.com |
| Web | errata/RHSA-2020:0591 | access.redhat.com |
| Web | errata/RHSA-2020:0542 | access.redhat.com |
| Web | errata/RHSA-2019:2028 | access.redhat.com |
| Web | errata/RHSA-2018:3731 | access.redhat.com |
| Web | errata/RHSA-2018:3730 | access.redhat.com |
| Web | errata/RHSA-2018:3729 | access.redhat.com |
| Web | 2018/02/15/2.7.6-released.html | blog.rubygems.org |
| Web | opensuse-security-announce/2019-07/msg00036.html | lists.opensuse.org |
