Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-32066

25
FAUCET Score

CVE-2021-32066 is a vulnerability in Ruby's Net::IMAP library (versions through 2.6.7, 2.7.3, and 3.0.1) that allows a man-in-the-middle attacker to bypass StartTLS protections. The library fails to raise an exception when StartTLS encounters an unknown response, enabling a "StartTLS stripping attack." This high-severity vulnerability (CVSS 7.4) has a network attack vector and high impact on confidentiality and integrity, but requires high attack complexity. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.6.0, <= 2.6.7CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.7.0, <= 2.7.3CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.0.0, <= 3.0.1CPE matchmatch criteria
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
< 9.2.6.1CPE matchmatch criteria
cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.4HIGH

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

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.2
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
2.91%
Probability of exploitation in next 30 days
EPSS Percentile
85.5%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0291 is in the 44th percentile among its peer group of 8,920 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (17)

github_advisorypatch availablevia nvd_reference
View patch
microsoftpatch availablevia msrc
Product: 19016-16820Fixed in: 2.6.7-2
microsoftpatch availablevia msrc
Product: 19017-16823Fixed in: 2.7.4-1
microsoftpatch availablevia msrc
Product: cbl2 ruby 2.7.4-1 on CBL Mariner 2.0Fixed in: 2.7.4-1
microsoftpatch availablevia msrc
Product: cm1 ruby 2.6.7-2 on CBL Mariner 1.0Fixed in: 2.6.7-2
oraclepatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:2.5-8050020220216195847.c5368500
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsFixed in: ruby:2.6-8010020220201152941.c27ad7f8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Extended Update SupportFixed in: ruby:2.6-8020020220201131207.4cda2c84
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update SupportFixed in: ruby:2.6-8040020220131135901.522a0ee4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby27-ruby-0:2.7.4-130.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby30-ruby-0:3.0.2-148.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby26-ruby-0:2.6.9-120.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSFixed in: rh-ruby27-ruby-0:2.7.4-130.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSFixed in: rh-ruby30-ruby-0:3.0.2-148.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:2.6-8050020211215144356.c5368500
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:2.7-8040020210728141159.522a0ee4
View patch

Vendor Advisories (2)

microsoft2021-Aug/CVE-2021-32066Important

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

Aug 10, 2021
redhatCVE-2021-32066Moderate

ruby: StartTLS stripping vulnerability in Net::IMAP

Jul 7, 2021

References

github.com / ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a
PatchThird Party Advisory
hackerone.com / reports/1178562
ExploitPatchThird Party Advisory
lists.debian.org / debian-lts-announce/2021/10/msg00009.html
Third Party Advisory
lists.debian.org / debian-lts-announce/2023/04/msg00033.html
security.gentoo.org / glsa/202401-27
security.netapp.com / advisory/ntap-20210902-0004
Third Party Advisory
oracle.com / security-alerts/cpuapr2022.html
PatchThird Party Advisory
ruby-lang.org / en/news/2021/07/07/starttls-stripping-in-net-imap
Vendor Advisory