CVE-2021-32066

Source
https://cve.org/CVERecord?id=CVE-2021-32066
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32066.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-32066
Aliases
Downstream
Related
Published
2021-08-01T19:15:07.697Z
Modified
2026-03-15T21:59:28.152749Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/ruby/ruby

Affected ranges

Type
GIT
Repo
https://github.com/ruby/ruby
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.6.0"
        },
        {
            "last_affected": "2.6.7"
        },
        {
            "introduced": "2.7.0"
        },
        {
            "last_affected": "2.7.3"
        },
        {
            "introduced": "3.0.0"
        },
        {
            "last_affected": "3.0.1"
        }
    ]
}

Affected versions

Other
v2_7_0
v2_7_1
v2_7_2
v2_7_3
v3_0_0
v3_0_1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32066.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "9.2.6.1"
            }
        ]
    }
]