{"id":"ALPINE-CVE-2021-32066","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.\"","modified":"2026-08-27T22:18:01.613486027Z","published":"2021-08-01T19:15:07.697Z","upstream":["CVE-2021-32066"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-32066"}],"affected":[{"package":{"name":"ruby","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.8-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}},{"package":{"name":"ruby","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/ruby?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.7.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-32066.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}