CVE-2021-38507

Description

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.32%
Vendor Advisory debian.org Vendor Advisory debian.org Vendor Advisory gentoo.org Vendor Advisory gentoo.org Vendor Advisory mozilla.org Vendor Advisory mozilla.org Vendor Advisory mozilla.org Vendor Advisory mozilla.org
Affected: Mozilla Firefox
Affected: Mozilla Thunderbird
Affected: Mozilla Firefox ESR
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2021-38507?
CVE-2021-38507 has been scored as a medium severity vulnerability.
How to fix CVE-2021-38507?
To fix CVE-2021-38507, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-38507 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2021-38507 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-38507?
CVE-2021-38507 affects Mozilla Firefox, Mozilla Thunderbird, Mozilla Firefox ESR.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.