CVE-2021-32066

ruby: StartTLS stripping vulnerability in Net::IMAP

Published Aug 1, 2021 CVSS 3.1 · 7.4 High EPSS 2.9% KEV · Not listed
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."

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 11:17 PM
Reserved
May 6, 2021, 12:00 AM
Status
Modified
Published
Aug 1, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:52 AM
Severity
Moderate
Public date
Jul 7, 2021, 12:00 AM