VDB

CVE-2021-32066

CVE-2021-32066 PUBLISHED

Reported by mitre · Published August 1, 2021

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rubygem-bigdecimalAmazon Linux1.2.0-36.amzn2.0.10
ruby-docAmazon Linux2.0.0.648-36.amzn2.0.10
ruby-libsAmazon Linux2.0.0.648-36.amzn2.0.10
rubygemsAmazon Linux2.0.14.1-36.amzn2.0.10
rubyAlpine2.7.4-r0, 2.6.8-r0
jrubyArch Linux9.3.0.0-1
rubyBitnami3.0.2, 2.7.4, 2.6.8
ruby-develAmazon Linux2.0.0.648-36.amzn2.0.10
rubyAmazon Linux2.0.0.648-36.amzn2.0.10
rubygems-develAmazon Linux2.0.14.1-36.amzn2.0.10
ruby-tcltkAmazon Linux2.0.0.648-36.amzn2.0.10
rubygem-psychAmazon Linux2.0.0-36.amzn2.0.10

5 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/an/an/a
amazon:2rubygem-bigdecimal0
amazon:2ruby-doc0
amazon:2ruby-libs0
amazon:2rubygems0
alpineruby0, 0
archjruby0
amazon:2ruby-devel0
amazon:2ruby0
amazon:2rubygems-devel0
amazon:2ruby-tcltk0
amazon:2rubygem-psych0
archruby0
amazon:2rubygem-io-console0
amazon:2rubygem-minitest0
amazon:2ruby-irb0
n/an/a*
amazon:2rubygem-rake0
amazon:2rubygem-rdoc0
amazon:2rubygem-json0

Timeline

  • Jul 8, 2021 PoC Published
  • Aug 1, 2021 CVE Published
  • Aug 2, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (13 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (19 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32066
vulnetix vdb fixes CVE-2021-32066

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32066/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›