Skip to main content
← All vulnerabilities
CVE-2021-38507

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 94, 91.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Mozilla Firefox

    fixed in 94

  • Mozilla Thunderbird

    fixed in 91.3

  • Mozilla Firefox ESR

    fixed in 91.3

References 10

mozilla.org

bugzilla.mozilla.org

debian.org

lists.debian.org

security.gentoo.org