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."
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2780-1 ruby2.3 security update
Debian DLA Debian DLA DLA-3408-1 jruby security update
Debian DSA Debian DSA DSA-5066-1 ruby2.5 security update
Ubuntu USN Ubuntu USN USN-5020-1 Ruby vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T23:17:28.265Z

Reserved: 2021-05-06T00:00:00

Link: CVE-2021-32066

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-08-01T19:15:07.697

Modified: 2024-11-21T06:06:47.243

Link: CVE-2021-32066

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-07-07T00:00:00Z

Links: CVE-2021-32066 - Bugzilla

cve-icon OpenCVE Enrichment

No data.