PT-2018-1153 · Ruby+4 · Rubygems+4
David Fifield
+1
·
Published
2018-02-15
·
Updated
2022-05-14
·
CVE-2018-1000076
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
RubyGems versions 2.2.9 and earlier
RubyGems versions 2.3.6 and earlier
RubyGems versions 2.4.3 and earlier
RubyGems versions 2.5.0 and earlier
RubyGems prior to trunk revision 62422
Description
The issue is related to an Improper Verification of Cryptographic Signature vulnerability in package.rb, which can result in a mis-signed gem being installed. This occurs because the tarball would contain multiple gem signatures. The vulnerability can be exploited by a remote attacker to execute arbitrary code.
Recommendations
For RubyGems versions 2.2.9 and earlier, update to a version newer than 2.7.6.
For RubyGems versions 2.3.6 and earlier, update to a version newer than 2.7.6.
For RubyGems versions 2.4.3 and earlier, update to a version newer than 2.7.6.
For RubyGems versions 2.5.0 and earlier, update to a version newer than 2.7.6.
For RubyGems prior to trunk revision 62422, update to a version newer than 2.7.6.
Exploit
Fix
Improper Verification of Cryptographic Signature
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Centos
Red Hat
Rubygems
Suse
Ubuntu