CVE-2021-38507The Opportunistic Encryption feature of HTTP2 (RFC 8164) allows a connection to be transparently upgraded to TLS while retaining the…
- 6.5MediumCVSS base score
- 0.83%Exploitation in 30 daysEPSS · top 42% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By mozilla
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.83% · top 42% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
- affected unspecified – < 94
- affected unspecified – < 91.3
- affected unspecified – < 91.3
References
References10
- https://www.mozilla.org/security/advisories/mfsa2021-49/ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.mozilla.org/security/advisories/mfsa2021-50/ (opens in a new tab)x_refsource_MISCx_transferred
- https://www.mozilla.org/security/advisories/mfsa2021-48/ (opens in a new tab)x_refsource_MISCx_transferred
- https://bugzilla.mozilla.org/show_bug.cgi?id=1730935 (opens in a new tab)x_refsource_MISCx_transferred
- DSA-5026 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [debian-lts-announce] 20211229 [SECURITY] [DLA 2863-1] firefox-esr security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-5034 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [debian-lts-announce] 20220104 [SECURITY] [DLA 2874-1] thunderbird security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- GLSA-202202-03 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- GLSA-202208-14 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-24959 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-38507)Record last updated .