{"id":"JLSEC-2026-1285","aliases":["JLSEC-2026-1285"],"related":["CVE-2021-32066"],"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.\"","summaryFormat":"markdown","summarySource":"jlsec","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.\"","format":"markdown","source":"jlsec"}],"published":"2026-08-13T09:49:53.975Z","modified":"2026-08-13T10:00:11.306Z","severity":{"scorer":"Julia Security Advisories","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":"Julia Security Advisories","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N"},{"scorer":"Julia Security Advisories","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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Julia","package":"ruby_jll","purl":"pkg:julia/ruby_jll?uuid=3ea333e9-fd8a-53ca-adba-366e8551b7d5","source":"jlsec"}],"references":[{"url":"https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a","tags":["web"],"sources":["jlsec"]},{"url":"https://hackerone.com/reports/1178562","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html","tags":["web"],"sources":["jlsec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html","tags":["web"],"sources":["jlsec"]},{"url":"https://security.gentoo.org/glsa/202401-27","tags":["web"],"sources":["jlsec"]},{"url":"https://security.netapp.com/advisory/ntap-20210902-0004/","tags":["web"],"sources":["jlsec"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["web"],"sources":["jlsec"]},{"url":"https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1285","url":"https://osv.dev/vulnerability/JLSEC-2026-1285","licence":"CC-BY-4.0","modified":"2026-08-13T10:00:11.306Z"}],"updatedAt":"2026-11-25T22:56:25.926Z"}