CVE-2021-32066 Security feature bypass in n/a

High 7.4 Published Updated

Man-in-the-middle attackers can bypass TLS encryption in Ruby's Net::IMAP by stripping the StartTLS command, exposing email data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32066?

CVE-2021-32066 is a high-severity vulnerability in Oracle Jd Edwards Enterpriseone Tools, published on 1 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-755

Which versions are affected by CVE-2021-32066?

2 open source packages ship an affected version, including ruby and ruby-min. It affects 2 products.

PackageAffectedFixed in
ruby BitnamiFrom 2.6.02.6.8, 2.7.4, 3.0.2
ruby-min BitnamiFrom 2.6.02.6.8, 2.7.4, 3.0.2

Products include Oracle Jd Edwards Enterpriseone Tools, Ruby-Lang Ruby.

How do I fix CVE-2021-32066?

Upgrade ruby to a fixed version for your release line: 2.6.8, 2.7.4 or 3.0.2.

Is CVE-2021-32066 being exploited?

There is no known exploitation of CVE-2021-32066 in the wild and no public exploit code.

All Oracle Jd Edwards Enterpriseone Tools vulnerabilities

Sources

Also known as ALPINE-CVE-2021-32066, AZL-6861, BIT-ruby-2021-32066, BIT-ruby-min-2021-32066, CLEANSTART-2026-SH27100, DEBIAN-CVE-2021-32066 and 3 more.

Is CVE-2021-32066 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free