All vulnerabilities

Servers and applications

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

Severity
High 7.4
Published
1 Aug 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • From 2.6.0 up to 2.6.7
  • From 2.7.0 up to 2.7.3
  • From 3.0.0 up to 3.0.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-32066
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-32066