{"id":"UBUNTU-CVE-2012-2125","details":"RubyGems before 1.8.23 can redirect HTTPS connections to HTTP, which makes it easier for remote attackers to observe or modify a gem during installation via a man-in-the-middle attack.","modified":"2026-02-04T03:34:20.723449Z","published":"2012-04-20T00:00:00Z","related":["USN-1582-1","USN-1583-1"],"upstream":["CVE-2012-2125"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2012-2125"},{"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-2125"}],"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_version":"1.5.6-9+deb8u2build0.14.04.1~esm2","binary_name":"jruby"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-2125.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"low"}]}