{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-32066","id":"CVE-2021-32066","title":"Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1: man-in-the-middle attackers to bypass the TLS protect…","description":"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.\"","descriptionLong":"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.\"","published":"2021-08-01T00:00:00.000Z","updated":"2026-10-20T10:54:40.984360542Z","reserved":"2021-05-06T00:00:00.000Z","status":"PUBLISHED","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":["BIT-ruby-2021-32066","BIT-ruby-min-2021-32066"],"references":[{"url":"https://hackerone.com/reports/1178562","tags":["x_transferred","fix"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html","tags":["mailing-list","x_transferred","advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred","fix"]},{"url":"https://security.netapp.com/advisory/ntap-20210902-0004/","tags":["x_transferred","advisory"]},{"url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/","tags":["x_transferred","advisory"]},{"url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a","tags":["x_transferred","fix"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html","tags":["mailing-list","x_transferred","web"]},{"url":"https://security.gentoo.org/glsa/202401-27","tags":["vendor-advisory","x_transferred","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02909,"epssPercentile":0.87313,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-32066","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32066","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-32066","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-32066","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}