CVE-2018-1000079
published 2018-03-13CVE-2018-1000079: 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…
PriorityP430medium5.5CVSS 3.0
AVLACLPRNUIRSUCNIHAN
EPSS
2.83%
85.1th percentile
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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | jruby | < jruby 9.1.17.0-1 (bookworm) | jruby 9.1.17.0-1 (bookworm) |
| debian | rubygems | < jruby 9.1.17.0-1 (bookworm) | jruby 9.1.17.0-1 (bookworm) |
| jruby | jruby | >= 0 < 9.1.17.0-1 | 9.1.17.0-1 |
| jruby | jruby | >= 0 < 9.1.17.0-1 | 9.1.17.0-1 |
| jruby | jruby | >= 0 < 9.1.17.0-1 | 9.1.17.0-1 |
| rubygems | rubygems | <= 2.2.9 | — |
| rubygems | rubygems | <= 2.3.6 | — |
| rubygems | rubygems | <= 2.4.3 | — |
| rubygems | rubygems | <= 2.5.0 | — |
| rubygems | rubygems | >= 0 < 3.2.0~rc.1-1 | 3.2.0~rc.1-1 |
| rubygems | rubygems | >= 0 < 3.2.0~rc.1-1 | 3.2.0~rc.1-1 |
| rubygems | rubygems | >= 0 < 3.2.0~rc.1-1 | 3.2.0~rc.1-1 |
| rubygems | rubygems | >= 0 < 3.2.0~rc.1-1 | 3.2.0~rc.1-1 |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv7.5HIGH
vendor_ubuntu7.5HIGH
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
RubyGems Path Traversal vulnerability
ghsa·2022-05-14
CVE-2018-1000079 [MEDIUM] CWE-22 RubyGems Path Traversal vulnerability
RubyGems Path Traversal vulnerability
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.
OSV
RubyGems Path Traversal vulnerability
osv·2022-05-14
CVE-2018-1000079 [MEDIUM] RubyGems Path Traversal vulnerability
RubyGems Path Traversal vulnerability
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.
OSV
ruby1.9.1, ruby2.0 regression
osv·2018-04-13·CVSS 7.5
CVE-2018-1000074 [HIGH] ruby1.9.1, ruby2.0 regression
ruby1.9.1, ruby2.0 regression
USN-3621-1 fixed vulnerabilities in Ruby. The update caused an issue due
to an incomplete patch for CVE-2018-1000074. This update reverts the
problematic patch pending further investigation.
We apologize for the inconvenience.
Original advisory details:
It was discovered that Ruby incorrectly handled certain inputs. An attacker
could possibly use this to access sensitive information. (CVE-2018-1000073)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to execute arbitrary code. (CVE-2018-1000074)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to cause a denial of service. (CVE-2018-1000075)
It was discovered that Ruby incorrectly handled certain crypto s
OSV
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities
osv·2018-04-05·CVSS 7.5
CVE-2018-1000073 [HIGH] ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities
It was discovered that Ruby incorrectly handled certain inputs. An attacker
could possibly use this to access sensitive information. (CVE-2018-1000073)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to execute arbitrary code. (CVE-2018-1000074)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to cause a denial of service. (CVE-2018-1000075)
It was discovered that Ruby incorrectly handled certain crypto signatures.
An attacker could possibly use this to execute arbitrary code. (CVE-2018-1000076)
It was discovered that Ruby incorrectly handled certain inputs. An attacker
could possibly use this to execute arbitrary code. (CVE-2018-1000077,
CVE
OSV
CVE-2018-1000079: RubyGems version Ruby 2
osv·2018-03-13·CVSS 5.5
CVE-2018-1000079 [MEDIUM] CVE-2018-1000079: RubyGems version Ruby 2
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.
Ubuntu
Ruby regression
vendor_ubuntu·2018-04-13·CVSS 7.5
CVE-2018-1000074 [HIGH] Ruby regression
Title: Ruby regression
Summary: USN-3621-1 caused a regression in Ruby.
USN-3621-1 fixed vulnerabilities in Ruby. The update caused an issue due
to an incomplete patch for CVE-2018-1000074. This update reverts the
problematic patch pending further investigation.
We apologize for the inconvenience.
Original advisory details:
It was discovered that Ruby incorrectly handled certain inputs. An attacker
could possibly use this to access sensitive information. (CVE-2018-1000073)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to execute arbitrary code. (CVE-2018-1000074)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to cause a denial of service. (CVE-2018-1000075)
It was discovered tha
Ubuntu
Ruby vulnerabilities
vendor_ubuntu·2018-04-05·CVSS 7.5
CVE-2018-1000073 [HIGH] Ruby vulnerabilities
Title: Ruby vulnerabilities
Summary: Several security issues were fixed in Ruby.
It was discovered that Ruby incorrectly handled certain inputs. An attacker
could possibly use this to access sensitive information. (CVE-2018-1000073)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to execute arbitrary code. (CVE-2018-1000074)
It was discovered that Ruby incorrectly handled certain files. An attacker
could possibly use this to cause a denial of service. (CVE-2018-1000075)
It was discovered that Ruby incorrectly handled certain crypto signatures.
An attacker could possibly use this to execute arbitrary code. (CVE-2018-1000076)
It was discovered that Ruby incorrectly handled certain inputs. An attacker
could possibly use this to execute
Red Hat
rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations
vendor_redhat·2018-02-15·CVSS 5.5
CVE-2018-1000079 [MEDIUM] CWE-22 rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations
rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations
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.
Statement: This issue affects the versions of rubygems as shipped with Red Hat Subscription Asset Manager 1.x. Red Hat Product Security has rated this issue as having a security impact of Moderate. A futur
Debian
CVE-2018-1000079: jruby - RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and ...
vendor_debian·2018·CVSS 5.5
CVE-2018-1000079 [MEDIUM] CVE-2018-1000079: jruby - RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and ...
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.
Scope: local
bookworm: resolved (fixed in 9.1.17.0-1)
forky: resolved (fixed in 9.1.17.0-1)
sid: resolved (fixed in 9.1.17.0-1)
trixie: resolved (fixed in 9.1.17.0-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-1000073 CVE-2018-1000074 CVE-2018-1000075 CVE-2018-1000076 CVE-2018-1000077 CVE-2018-1000078 CVE-2018-1000079 rubygems: various flaws [fedora-all]
bugzilla·2018-02-21·CVSS 7.5
CVE-2018-1000073 [HIGH] CVE-2018-1000073 CVE-2018-1000074 CVE-2018-1000075 CVE-2018-1000076 CVE-2018-1000077 CVE-2018-1000078 CVE-2018-1000079 rubygems: various flaws [fedora-all]
CVE-2018-1000073 CVE-2018-1000074 CVE-2018-1000075 CVE-2018-1000076 CVE-2018-1000077 CVE-2018-1000078 CVE-2018-1000079 rubygems: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and th
Bugzilla
CVE-2018-1000079 rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations
bugzilla·2018-02-21·CVSS 5.5
CVE-2018-1000079 [MEDIUM] CVE-2018-1000079 rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations
CVE-2018-1000079 rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations
Path traversal issue during gem installation allows to write to arbitrary filesystem locations.
Upstream fixes:
https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759
https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099
External References:
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
Discussion:
Created rubygems tracking bugs for this issue:
Affects: fedora-all [bug 1547431]
---
Statement:
This issue affects the versions of rubygems as shipped with Red Hat Subscription Asset Manager 1.x. Red Hat Product Security has rated this issue as having a security impact
Bugzilla
CVE-2018-1000073 rubygems: Path traversal when writing to a symlinked basedir outside of the root
bugzilla·2018-02-21·CVSS 7.5
CVE-2018-1000073 [HIGH] CVE-2018-1000073 rubygems: Path traversal when writing to a symlinked basedir outside of the root
CVE-2018-1000073 rubygems: Path traversal when writing to a symlinked basedir outside of the root
Path traversal vulnerability in install_location function of package.rb was found that is triggered when
writing to a symlinked basedir outside of the root.
Upstream fix:
https://github.com/rubygems/rubygems/commit/1b931fc03b819b9a0214be3eaca844ef534175e2
External References:
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
Discussion:
Created rubygems tracking bugs for this issue:
Affects: fedora-all [bug 1547431]
---
Statement:
This issue affects the versions of rubygems as shipped with Red Hat Subscription Asset Manager 1.x. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue
http://blog.rubygems.org/2018/02/15/2.7.6-released.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlhttps://access.redhat.com/errata/RHSA-2018:3729https://access.redhat.com/errata/RHSA-2018:3730https://access.redhat.com/errata/RHSA-2018:3731https://access.redhat.com/errata/RHSA-2019:2028https://access.redhat.com/errata/RHSA-2020:0542https://access.redhat.com/errata/RHSA-2020:0591https://access.redhat.com/errata/RHSA-2020:0663https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlhttps://usn.ubuntu.com/3621-1/https://www.debian.org/security/2018/dsa-4219https://www.debian.org/security/2018/dsa-4259http://blog.rubygems.org/2018/02/15/2.7.6-released.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlhttps://access.redhat.com/errata/RHSA-2018:3729https://access.redhat.com/errata/RHSA-2018:3730https://access.redhat.com/errata/RHSA-2018:3731https://access.redhat.com/errata/RHSA-2019:2028https://access.redhat.com/errata/RHSA-2020:0542https://access.redhat.com/errata/RHSA-2020:0591https://access.redhat.com/errata/RHSA-2020:0663https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlhttps://usn.ubuntu.com/3621-1/https://www.debian.org/security/2018/dsa-4219https://www.debian.org/security/2018/dsa-4259
2018-03-13
Published