{"id":"CVE-2021-32066","aliases":["CVE-2021-32066","BIT-RUBY-2021-32066","BIT-RUBY-MIN-2021-32066"],"related":[],"kind":"vulnerability","state":"published","title":"An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1.","summary":"An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a \"StartTLS stripping attack.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a \"StartTLS stripping attack.\"","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema en Ruby versiones hasta 2.6.7, versiones 2.7.x hasta 2.7.3, y versiones 3.x hasta 3.0.1. Net::IMAP no lanza una excepción cuando StartTLS falla con una respuesta desconocida, lo que podría permitir a atacantes tipo man-in-the-middle omitir las protecciones TLS, al aprovechar una posición de red entre el cliente y el registro para bloquear el comando StartTLS, también se conoce como \"StartTLS stripping attack\"","source":"nvd"}],"published":"2021-08-01T00:00:00.000Z","modified":"2026-09-08T08:48:19.343Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-755"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.0","lastAffected":"2.6.7"},{"status":"affected","introduced":"2.7.0","lastAffected":"2.7.3"},{"status":"affected","introduced":"3.0.0","lastAffected":"3.0.1"}],"vendor":"ruby-lang","product":"ruby","cpe":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"9.2.6.1"}],"vendor":"oracle","product":"jd_edwards_enterpriseone_tools","cpe":"cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2.6.0","status":"affected","fixed":"2.6.8"},{"type":"semver","introduced":"2.7.0","status":"affected","fixed":"2.7.4"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"Bitnami","package":"ruby","purl":"pkg:bitnami/ruby","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"2.6.0","status":"affected","fixed":"2.6.8"},{"type":"semver","introduced":"2.7.0","status":"affected","fixed":"2.7.4"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.2"}],"ecosystem":"Bitnami","package":"ruby-min","purl":"pkg:bitnami/ruby-min","source":"bitnami"}],"references":[{"url":"https://hackerone.com/reports/1178562","tags":["advisory","exploit","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html","tags":["advisory","mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["advisory","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210902-0004/","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a","tags":["advisory","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202401-27","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32066","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32066","url":"https://www.cve.org/CVERecord?id=CVE-2021-32066","licence":"CVE Terms of Use","modified":"2024-08-03T23:17:28.265Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32066","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32066","licence":"Public domain","modified":"2026-06-17T03:52:44.373Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RUBY-2021-32066","url":"https://osv.dev/vulnerability/BIT-RUBY-2021-32066","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.343Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-RUBY-MIN-2021-32066","url":"https://osv.dev/vulnerability/BIT-RUBY-MIN-2021-32066","licence":"Apache-2.0","modified":"2026-09-08T08:48:19.237Z"}],"updatedAt":"2026-11-25T22:58:02.906Z","epss":{"score":0.02909,"percentile":0.87743,"date":"2026-11-30T12:00:22.000Z"}}