Name | CVE-2021-32066 |
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." |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2780-1, DLA-3408-1, DSA-5066-1, ELA-495-1 |
Debian Bugs | 990815, 1014818 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
jruby (PTS) | jessie, jessie (lts) | 1.5.6-9+deb8u2 | vulnerable |
stretch (security), stretch (lts), stretch | 1.7.26-1+deb9u3 | vulnerable | |
buster (security), buster, buster (lts) | 9.1.17.0-3+deb10u1 | fixed | |
bookworm | 9.3.9.0+ds-8 | fixed | |
sid, trixie | 9.4.8.0+ds-1 | fixed | |
ruby2.1 (PTS) | jessie, jessie (lts) | 2.1.5-2+deb8u14 | fixed |
ruby2.3 (PTS) | stretch (security) | 2.3.3-1+deb9u11 | fixed |
stretch (lts), stretch | 2.3.3-1+deb9u12 | fixed | |
ruby2.5 (PTS) | buster, buster (lts) | 2.5.5-3+deb10u7 | fixed |
buster (security) | 2.5.5-3+deb10u6 | fixed | |
ruby2.7 (PTS) | bullseye | 2.7.4-1+deb11u1 | fixed |
bullseye (security) | 2.7.4-1+deb11u2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
jruby | source | jessie | (unfixed) | end-of-life | ||
jruby | source | buster | 9.1.17.0-3+deb10u1 | DLA-3408-1 | ||
jruby | source | (unstable) | 9.3.9.0+ds-1 | 1014818 | ||
ruby2.1 | source | jessie | 2.1.5-2+deb8u12 | ELA-495-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | |||
ruby2.3 | source | stretch | 2.3.3-1+deb9u10 | DLA-2780-1 | ||
ruby2.3 | source | (unstable) | (unfixed) | |||
ruby2.5 | source | buster | 2.5.5-3+deb10u4 | DSA-5066-1 | ||
ruby2.5 | source | (unstable) | (unfixed) | |||
ruby2.7 | source | (unstable) | 2.7.4-1 | 990815 |
[stretch] - jruby <no-dsa> (Minor issue)
https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/
https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a (2.7)