{"schemaVersion":3,"id":"CVE-2012-2125","aliases":["UBUNTU-CVE-2012-2125","DEBIAN-CVE-2012-2125","GHSA-228f-g3h7-3fj3"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2013-10-01T17:00:00.000Z","modified":"2024-08-06T19:26:08.518Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.8,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02467,"percentile":0.84258,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.00999999999999994,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02477},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02467,"percentile":0.84258}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02477,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02467,"percentile":0.84258}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"debian","product":"rubygems","name":"rubygems","label":"rubygems","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rubygems","purlType":"deb","versions":[{"text":"< 1.8.24-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.24-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"jruby","name":"jruby","label":"jruby","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/jruby","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"rubygems-update","name":"rubygems-update","label":"rubygems-update","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/rubygems-update","purlType":"gem","versions":[{"text":"< 1.8.23","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.23","eol":null,"hubHref":null},{"vendor":"rubygems","product":"rubygems","name":"rubygems","label":"rubygems","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.8.22","noFixRecorded":false,"fixedIn":null},{"text":"1.8.0","noFixRecorded":false,"fixedIn":null},{"text":"1.8.1","noFixRecorded":false,"fixedIn":null},{"text":"1.8.2","noFixRecorded":false,"fixedIn":null},{"text":"1.8.3","noFixRecorded":false,"fixedIn":null},{"text":"1.8.4","noFixRecorded":false,"fixedIn":null},{"text":"1.8.5","noFixRecorded":false,"fixedIn":null},{"text":"1.8.6","noFixRecorded":false,"fixedIn":null},{"text":"1.8.7","noFixRecorded":false,"fixedIn":null},{"text":"1.8.8","noFixRecorded":false,"fixedIn":null},{"text":"1.8.9","noFixRecorded":false,"fixedIn":null},{"text":"1.8.10","noFixRecorded":false,"fixedIn":null},{"text":"1.8.11","noFixRecorded":false,"fixedIn":null},{"text":"1.8.12","noFixRecorded":false,"fixedIn":null},{"text":"1.8.13","noFixRecorded":false,"fixedIn":null},{"text":"1.8.14","noFixRecorded":false,"fixedIn":null},{"text":"1.8.15","noFixRecorded":false,"fixedIn":null},{"text":"1.8.16","noFixRecorded":false,"fixedIn":null},{"text":"1.8.17","noFixRecorded":false,"fixedIn":null},{"text":"1.8.18","noFixRecorded":false,"fixedIn":null},{"text":"1.8.19","noFixRecorded":false,"fixedIn":null},{"text":"1.8.20","noFixRecorded":false,"fixedIn":null},{"text":"1.8.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.8.22 | 1.8.0 | 1.8.1 | 1.8.2 | 1.8.3 | 1.8.4 | 1.8.5 | 1.8.6 | 1.8.7 | 1.8.8 | 1.8.9 | 1.8.10 | 1.8.11 | 1.8.12 | 1.8.13 | 1.8.14 | 1.8.15 | 1.8.16 | 1.8.17 | 1.8.18 | 1.8.19 | 1.8.20 | 1.8.21","eol":null,"hubHref":"/vendor/rubygems/rubygems"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://secunia.com/advisories/55381","label":"secunia.com/advisories/55381","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.ubuntu.com/usn/USN-1582-1/","label":"www.ubuntu.com/usn/USN-1582-1/","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU"]},{"url":"https://github.com/rubygems/rubygems/blob/1.8/History.txt","label":"github.com/rubygems/rubygems/blob/1.8/History.txt","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1203.html","label":"rhn.redhat.com/errata/RHSA-2013-1203.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=814718","label":"bugzilla.redhat.com/show_bug.cgi?id=814718","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Patch","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/20/24","label":"www.openwall.com/lists/oss-security/2012/04/20/24","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1852.html","label":"rhn.redhat.com/errata/RHSA-2013-1852.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1441.html","label":"rhn.redhat.com/errata/RHSA-2013-1441.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://ubuntu.com/security/CVE-2012-2125","label":"ubuntu.com/security/CVE-2012-2125","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.openwall.com/lists/oss-security/2012/04/20","label":"www.openwall.com/lists/oss-security/2012/04/20","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"http://www.ruby-lang.org/en/news/2012/04/20/ruby-1-9-3-p194-is-released/","label":"www.ruby-lang.org/en/news/2012/04/20/ruby-1-9-3-p194-is-released/","hostname":"www.ruby-lang.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-1582-1","label":"ubuntu.com/security/notices/USN-1582-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-1583-1","label":"ubuntu.com/security/notices/USN-1583-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2125","label":"www.cve.org/CVERecord?id=CVE-2012-2125","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-2125","label":"security-tracker.debian.org/tracker/CVE-2012-2125","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2125","label":"nvd.nist.gov/vuln/detail/CVE-2012-2125","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rubygems/rubygems","label":"github.com/rubygems/rubygems","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2012-2125.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2012-2125.yml","hostname":"github.com","tags":["WEB"]},{"url":"http://www.ubuntu.com/usn/USN-1582-1","label":"www.ubuntu.com/usn/USN-1582-1","hostname":"www.ubuntu.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2013:1203","RHSA-2013:1441","RHSA-2013:1852"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-10-01T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T19:26:08.518Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:16:03.469Z","stale":false,"partial":false}}