CVE Database›Document archive›CVE-2021-32066

CVE-2021-32066

ruby: StartTLS stripping vulnerability in Net::IMAP

Loading…

Severity

Moderate

Red Hat Product Security

7.4

CVSS 3.1

Review impact separately from score.

Published · July 7, 2021

Updated · June 28, 2026

Description

Ruby's Net::IMAP module did not raise an exception when receiving an unexpected response to the STARTTLS command and the connection was not upgraded to use TLS. A man-in-the-middle attacker could use this flaw to prevent Ruby applications using Net::IMAP to enable TLS encryption for a connection to an IMAP server and subsequently eavesdrop on or modify data sent over the plain text connection.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

CWE-319 · Cleartext Transmission of Sensitive Information