CVE-2021-38507Mozilla Firefox
Medium 6.5 No auth needed
Follow: this CVE · Mozilla · Mozilla Firefox We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 55
- Auth required
- No
- Published
- Dec 8, 2021
- Updated
- Jun 17, 2026
- Category
- Browser · Cross-platform
- Weakness (CWE)
- CWE-346
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Firefox.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mozilla | firefox | < 94.0 |
| mozilla | firefox_esr | < 91.3.0 |
| mozilla | thunderbird | < 91.3.0 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.mozilla.org Issue Tracking Permissions Required Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.mozilla.org Vendor Advisory
- www.mozilla.org Vendor Advisory
- www.mozilla.org Vendor Advisory