7.4high
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1.
- Severity
- 7.4high CVSS:3.1 by NVD
- Exploit likelihood
- 2.91% (higher than 88% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-RUBY-2021-32066BIT-RUBY-MIN-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."
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| ruby-lang ruby | from 2.6.0 up to 2.6.7, from 2.7.0 up to 2.7.3, from 3.0.0 up to 3.0.1 | NVD |
| oracle jd_edwards_enterpriseone_tools | before 9.2.6.1 | NVD |
| ruby (Bitnami) | from 2.6.0 before 2.6.8, from 2.7.0 before 2.7.4, from 3.0.0 before 3.0.2 | Bitnami Vulnerability Database |
| ruby-min (Bitnami) | from 2.6.0 before 2.6.8, from 2.7.0 before 2.7.4, from 3.0.0 before 3.0.2 | Bitnami Vulnerability Database |
All scores
| NVD | 7.4high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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."
NVD (es)
Se ha detectado un problema en Ruby versiones hasta 2.6.7, versiones 2.7.x hasta 2.7.3, y versiones 3.x hasta 3.0.1. Net::IMAP no lanza una excepción cuando StartTLS falla con una respuesta desconocida, lo que podría permitir a atacantes tipo man-in-the-middle omitir las protecciones TLS, al aprovechar una posición de red entre el cliente y el registro para bloquear el comando StartTLS, también se conoce como "StartTLS stripping attack"
References
| https://hackerone.com/reports/1178562 | advisory, exploit, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html | advisory, mailing-list, third-party-advisory | |
| https://www.oracle.com/security-alerts/cpuapr2022.html | advisory, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210902-0004/ | advisory, third-party-advisory | |
| https://www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/ | advisory, vendor-advisory | |
| https://github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a | advisory, patch, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html | mailing-list, web | |
| https://security.gentoo.org/glsa/202401-27 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32066 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32066 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32066 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-RUBY-2021-32066 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-RUBY-MIN-2021-32066 changed 2026-09-08 | Apache-2.0 |