CVE-2021-32066

HIGHCVSS 7.4/10EPSS 2.91%

Last modified

CVE-2021-32066 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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.". EPSS estimates a 2.91% chance of exploitation in the next 30 days.

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."

Metrics

CVSS 3.1
7.4/10

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

EPSS Probability
2.91%

85.2th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Ruby-LangRuby>= 2.6.0, <= 2.6.7
Ruby-LangRuby>= 2.7.0, <= 2.7.3
Ruby-LangRuby>= 3.0.0, <= 3.0.1
OracleJd Edwards Enterpriseone Tools< 9.2.6.1

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-32066?
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."
How severe is CVE-2021-32066?
CVE-2021-32066 has a CVSS score of 7.4/10 (HIGH severity). The EPSS model estimates a 2.91% probability of exploitation in the next 30 days.
How do I fix CVE-2021-32066?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-32066?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST