CVE-2021-38507

published 8 Dec 2021 · updated 4 Aug 2024

The Opportunistic Encryption feature of HTTP2 (RFC 8164) allows a connection to be transparently upgraded to TLS while retaining the visual…

5.0MediumEPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Firefox 91.3, Firefox 94 and Thunderbird 91.3.

The Opportunistic Encryption feature of HTTP2 (RFC 8164) allows a connection to be transparently upgraded to TLS while retaining the visual properties of an HTTP connection, including being same-origin with unencrypted connections on port 80. However, if a second encrypted port on the same IP address (e.g. port 8443) did not opt-in to opportunistic encryption; a network attacker could forward a connection from the browser to port 443 to port 8443, causing the browser to treat the content of port 8443 as same-origin with HTTP. This was resolved by disabling the Opportunistic Encryption feature, which had low usage. This vulnerability affects Firefox < 94, Thunderbird < 91.3, and Firefox ESR < 91.3.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MozillaFirefox<91.3, <9491.3, 94
MozillaThunderbird<91.391.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Firefox, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-38507 severity on Zeptric[![CVE-2021-38507](https://zeptric.io/badge/cve/CVE-2021-38507.svg)](https://zeptric.io/cve/CVE-2021-38507)