
CVE catalog
CVE-2021-32066
jruby: CVE-2021-32066
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.91% · Oct 25, 2026
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."
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | jruby | sid | 10.1.2.0+ds-1 | fixed |
| Debian | jruby | forky | 10.1.2.0+ds-1 | fixed |
| Debian | jruby | trixie | 9.4.8.0+ds-3 | fixed |
| Debian | jruby | bookworm | 9.3.9.0+ds-8 | fixed |
| Alpine | ruby | 3.11 | 2.6.8-r0 | fixed |
| Alpine | ruby | 3.12 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.13 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.14 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.15 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.16 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.17 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.18 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.19 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.20 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.21 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.22 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.23 | 2.7.4-r0 | fixed |
| Alpine | ruby | 3.24 | 2.7.4-r0 | fixed |
| Ubuntu | ruby2.3 | pro | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.4 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.5 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.6 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.7 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.9 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.10 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.11 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~16.04.12 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.13 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.14 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.15 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16 | vulnerable |
| Ubuntu | ruby2.3 | pro | 2.3.1-2~ubuntu16.04.16+esm1 | fixed |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0~preview1-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-4ubuntu4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.0-6ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.5 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.6 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.7 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.8 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.9 | vulnerable |
| Ubuntu | ruby2.5 | 18.04 | 2.5.1-1ubuntu1.10 | fixed |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-4ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.2 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.3 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.4 | vulnerable |
| Ubuntu | ruby2.7 | 20.04 | 2.7.0-5ubuntu1.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | jruby | source | sid | 9.3.9.0+ds-1 | not yet assigned | Not reported | [1014818] |
| Debian | jruby | source | forky | 9.3.9.0+ds-1 | not yet assigned | Not reported | [1014818] |
| Debian | jruby | source | trixie | 9.3.9.0+ds-1 | not yet assigned | Not reported | [1014818] |
| Debian | jruby | source | bookworm | 9.3.9.0+ds-1 | not yet assigned | Not reported | [1014818] |
| Alpine | ruby | apk | 3.11 | 2.6.8-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.12 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.13 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.14 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.15 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.16 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.17 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.18 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.19 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.20 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.21 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.22 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.23 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Alpine | ruby | apk | 3.24 | 2.7.4-r0 | Not reported | ALPINE-CVE-2021-32066 | Not reported |
| Ubuntu | ruby2.3 | deb | pro | 2.3.1-2~ubuntu16.04.16+esm1 | Not reported | UBUNTU-CVE-2021-32066 | Not reported |
| Ubuntu | ruby2.5 | deb | 18.04 | 2.5.1-1ubuntu1.10 | Not reported | UBUNTU-CVE-2021-32066 | Not reported |
| Ubuntu | ruby2.7 | deb | 20.04 | 2.7.0-5ubuntu1.5 | Not reported | UBUNTU-CVE-2021-32066 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [jruby]Fixed
Details (2)
9.3.9.0+ds-8· all · bookwormFixed · Fixed:
9.3.9.0+ds-1dsa · jruby · debian · bookworm; dsa · jruby · debian · 12
9.3.9.0+ds-8· all · bookwormFixed · Fixed:
9.3.9.0+ds-1dsa · jruby · debian · bookworm; dsa · jruby · debian · 12
[Debian 13 (Trixie)]
- [jruby]Fixed
Details (2)
9.4.8.0+ds-3· all · trixieFixed · Fixed:
9.3.9.0+ds-1dsa · jruby · debian · 13
9.4.8.0+ds-3· all · trixieFixed · Fixed:
9.3.9.0+ds-1dsa · jruby · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_3020.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-32066]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32066]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32066]
- [https://security-tracker.debian.org/tracker/CVE-2021-32066]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-32066.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1305.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]