MEDIUM
GHSA-5mgj-mvv8-46mw
RubyGems does not verify SSL certificate
Quick fix
GHSA-5mgj-mvv8-46mw — rubygems-update: upgrade to the fixed version with the command below.
bundle update rubygems-updateDetails
RubyGems before 1.8.23 does not verify an SSL certificate, which allows remote attackers to modify a gem during installation via a man-in-the-middle attack.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-2126[ADVISORY]
- https://github.com/rubygems/rubygems/commit/d4c7eafb8efe1e13a7abf5be5a5b4548870b15b7[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=814718[WEB]
- https://github.com/rubygems/rubygems[PACKAGE]
- https://github.com/rubygems/rubygems/blob/1.8/History.txt[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2012-2126.yml[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-1203.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-1441.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2013-1852.html[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/20/24[WEB]
- http://www.ubuntu.com/usn/USN-1582-1[WEB]