{"id":"CVE-2012-2126","published":"2013-10-01T17:00:00Z","modified":"2024-08-06T19:26:08Z","title":"RubyGems before 1.8.23 does not verify an SSL certificate, which allows remote attackers to modify a gem during…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01362,"percentile":0.72448,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/55381","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.ubuntu.com/usn/USN-1582-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/rubygems/rubygems/blob/1.8/History.txt","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1203.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=814718","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/20/24","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1852.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1441.html","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":14.49}]},"affected":[{"ecosystem":"RubyGems","package":"rubygems-update","vulnerableRanges":["<1.8.23"],"patched":["1.8.23"],"from":["GHSA-5mgj-mvv8-46mw"],"provenance":"source"}],"summary":{"text":"The flaw lies in RubyGems, the package manager for Ruby, in versions before 1.8.23, where it fails to verify SSL certificates. An attacker positioned as a man-in-the-middle on the network can modify a gem while it is being installed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:36Z"},"euvd":{"id":"EUVD-2022-2619","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hackerone-rubygems-cve-2012-2126","children":[{"from":"CVE-2012-2126","to":"CVE-2015-4020","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rubygems/remote_fetcher.rb"],"commits":["https://github.com/rubygems/rubygems/commit/d4c7eafb8efe1e13a7abf5be5a5b4548870b15b7","https://github.com/rubygems/rubygems/commit/5c7bfb5c05202b4db971dd672d88a42298a0d84e"],"basis":"rarely changed file"}]},{"from":"CVE-2012-2126","to":"CVE-2017-0902","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/rubygems/remote_fetcher.rb"],"commits":["https://github.com/rubygems/rubygems/commit/d4c7eafb8efe1e13a7abf5be5a5b4548870b15b7","https://github.com/rubygems/rubygems/commit/8d91516fb7037ecfb27622f605dc40245e0f8d32"],"basis":"rarely changed file"}]}]}}