{"id":"UBUNTU-CVE-2012-2126","details":"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.","modified":"2026-02-04T04:01:16.264932Z","published":"2012-04-20T00:00:00Z","related":["USN-1582-1","USN-1583-1"],"upstream":["CVE-2012-2126"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-2126"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2012/04/20"},{"type":"REPORT","url":"http://www.ruby-lang.org/en/news/2012/04/20/ruby-1-9-3-p194-is-released/"},{"type":"REPORT","url":"https://github.com/rubygems/rubygems/blob/1.8/History.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-1582-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-1583-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2012-2126"}],"affected":[{"package":{"name":"jruby","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/jruby@1.5.6-9+deb8u2build0.14.04.1~esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.6-5ubuntu1","1.5.6-6","1.5.6-7","1.5.6-9+deb8u2build0.14.04.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"jruby","binary_version":"1.5.6-9+deb8u2build0.14.04.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-2126.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}