{"id":"CVE-2021-32066","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. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, wh","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.\"","publishedAt":"2021-08-01T00:00:00.000Z","updatedAt":"2024-08-03T23:17:28.265Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://hackerone.com/reports/1178562","https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html","https://www.oracle.com/security-alerts/cpuapr2022.html","https://security.netapp.com/advisory/ntap-20210902-0004/","https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/","https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a","https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html","https://security.gentoo.org/glsa/202401-27"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32066.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32066","state":"PUBLISHED","datePublished":"2021-08-01T00:00:00.000Z","dateUpdated":"2024-08-03T23:17:28.265Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-05-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.\""}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://hackerone.com/reports/1178562"},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html","name":"[debian-lts-announce] 20211013 [SECURITY] [DLA 2780-1] ruby2.3 security update","tags":["mailing-list"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"url":"https://security.netapp.com/advisory/ntap-20210902-0004/"},{"url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/"},{"url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a"},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html","name":"[debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202401-27","name":"GLSA-202401-27","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2024-01-24T05:06:31.921Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://hackerone.com/reports/1178562","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html","name":"[debian-lts-announce] 20211013 [SECURITY] [DLA 2780-1] ruby2.3 security update","tags":["mailing-list","x_transferred"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210902-0004/","tags":["x_transferred"]},{"url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/","tags":["x_transferred"]},{"url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html","name":"[debian-lts-announce] 20230430 [SECURITY] [DLA 3408-1] jruby security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202401-27","name":"GLSA-202401-27","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:17:28.265Z"}}]}}}