CVE-2021-32066

Published on: 08/01/2021 12:00:00 AM UTC

Last Modified on: 10/18/2021 12:19:00 PM UTC

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

Certain versions of Ruby from Ruby-lang contain the following vulnerability:

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

  • CVE-2021-32066 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.

CVSS3 Score: 7.4 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK HIGH NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH NONE

CVSS2 Score: 5.8 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK MEDIUM NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
PARTIAL PARTIAL NONE

CVE References

Description Tags Link
Fix StartTLS stripping vulnerability · ruby/[email protected] · GitHub github.com
text/html
URL Logo CONFIRM github.com/ruby/ruby/commit/a21a3b7d23704a01d34bd79d09dc37897e00922a
August 2021 Ruby Vulnerabilities in NetApp Products | NetApp Product Security security.netapp.com
text/html
URL Logo CONFIRM security.netapp.com/advisory/ntap-20210902-0004/
HackerOne hackerone.com
text/html
URL Logo MISC hackerone.com/reports/1178562
[SECURITY] [DLA 2780-1] ruby2.3 security update lists.debian.org
text/html
URL Logo MLIST [debian-lts-announce] 20211013 [SECURITY] [DLA 2780-1] ruby2.3 security update
CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP www.ruby-lang.org
text/html
URL Logo CONFIRM www.ruby-lang.org/en/news/2021/07/07/starttls-stripping-in-net-imap/

Related QID Numbers

  • 159326 Oracle Enterprise Linux Security Update for ruby:2.7 (ELSA-2021-3020)
  • 178838 Debian Security Update for ruby2.3 (DLA 2780-1)
  • 198440 Ubuntu Security Notification for Ruby vulnerabilities (USN-5020-1)
  • 239536 Red Hat Update for ruby:2.7 (RHSA-2021:3020)
  • 239644 Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)
  • 239651 Red Hat Update for rh-ruby27-ruby (RHSA-2021:3559)
  • 239736 Red Hat Update for rh-ruby30-ruby (RHSA-2021:3982)
  • 281749 Fedora Security Update for ruby (FEDORA-2021-36cdab1f8d)
  • 670728 EulerOS Security Update for ruby (EulerOS-SA-2021-2486)
  • 670835 EulerOS Security Update for ruby (EulerOS-SA-2021-2721)
  • 670875 EulerOS Security Update for ruby (EulerOS-SA-2021-2696)
  • 671024 EulerOS Security Update for ruby (EulerOS-SA-2021-2673)
  • 671027 EulerOS Security Update for ruby (EulerOS-SA-2021-2614)
  • 690087 Free Berkeley Software Distribution (FreeBSD) Security Update for ruby (7ed5779c-e4c7-11eb-91d7-08002728f74c)
  • 751413 SUSE Enterprise Linux Security Update for ruby2.5 (SUSE-SU-2021:3838-1)
  • 751423 SUSE Enterprise Linux Security Update for ruby2.1 (SUSE-SU-2021:3837-1)
  • 751432 OpenSUSE Security Update for ruby2.5 (openSUSE-SU-2021:3838-1)
  • 751459 OpenSUSE Security Update for ruby2.5 (openSUSE-SU-2021:1535-1)
  • 900290 CBL-Mariner Linux Security Update for ruby 2.6.7
  • 940383 AlmaLinux Security Update for ruby:2.7 (ALSA-2021:3020)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationRuby-langRubyAllAllAllAll
ApplicationRuby-langRubyAllAllAllAll
ApplicationRuby-langRubyAllAllAllAll
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @rubylangorg CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP ift.tt/3hIdkXH 2021-07-07 12:40:10
Twitter Icon @rubylandnews Ruby News ➜ CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP ruby-lang.org/en/news/2021/0… 2021-07-07 13:21:45
Twitter Icon @songsthatsaved Includes security fixes for vulnerabilities in Net::IMAP (CVE-2021-32066) and Net::FTP (CVE-2021-31810). twitter.com/rubylangorg/st… 2021-07-07 23:40:02
Twitter Icon @katsyoshi “CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP” htn.to/41Lb9XnFu9 2021-07-08 02:25:27
Twitter Icon @nilab 「CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP」 「CVE-2021-32066: A StartTLS stripping vulne… twitter.com/i/web/status/1… 2021-07-09 22:43:23
Twitter Icon @vigilance_fr [email protected] #Vulnérabilité de Ruby : Man-in-the-Middle. vigilance.fr/vulnerabilite/… Références : #CVE-2021-32066.… twitter.com/i/web/status/1… 2021-07-22 17:09:03
Twitter Icon @vigilance_en [email protected] #Vulnerability of Ruby: Man-in-the-Middle. vigilance.fr/vulnerability/… Identifiers: #CVE-2021-32066. #CyberSec https://t.co/UcrbKQ6MKQ 2021-07-22 17:09:04
Twitter Icon @CVEreport 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::IM… twitter.com/i/web/status/1… 2021-08-01 19:04:42
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report