CVE-2021-32066
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
ruby-lang rubyfrom 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.1NVD
oracle jd_edwards_enterpriseone_toolsbefore 9.2.6.1NVD
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.2Bitnami 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.2Bitnami Vulnerability Database

All scores

NVD7.4high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N
Bitnami Vulnerability Databasehigh 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

Sources

SourceRecordLicence
CVE ListCVE-2021-32066 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-32066 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-RUBY-2021-32066 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-RUBY-MIN-2021-32066 changed 2026-09-08Apache-2.0