{"id":"JLSEC-2026-1285","details":"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.\"","modified":"2026-08-13T10:00:11.306814303Z","published":"2026-08-13T09:49:53.975Z","upstream":["CVE-2021-32066"],"database_specific":{"sources":[{"modified":"2026-06-17T03:52:44.373Z","published":"2021-08-01T19:15:07.697Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-32066","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32066","database_specific":{"status":"Modified"},"id":"CVE-2021-32066","imported":"2026-08-12T15:35:15.379Z"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a"},{"type":"WEB","url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a"},{"type":"WEB","url":"https://hackerone.com/reports/1178562"},{"type":"WEB","url":"https://hackerone.com/reports/1178562"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-27"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-27"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210902-0004/"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210902-0004/"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/"},{"type":"WEB","url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/"}],"affected":[{"package":{"name":"ruby_jll","ecosystem":"Julia","purl":"pkg:julia/ruby_jll?uuid=3ea333e9-fd8a-53ca-adba-366e8551b7d5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1285.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V2","score":"AV:N/AC:M/Au:N/C:P/I:P/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}