6.5medium
The Opportunistic Encryption feature of HTTP2 (RFC 8164) allows a connection to be transparently upgraded to TLS while retaining the visual…
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.83% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mozilla
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Mozilla Firefox | from unspecified before 94, before 94.0 | CVE List, NVD |
| Mozilla Thunderbird | from unspecified before 91.3, before 91.3.0 | CVE List, NVD |
| Mozilla Firefox ESR | from unspecified before 91.3 | CVE List |
| mozilla firefox_esr | before 91.3.0 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
All scores
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
La funcionalidad Opportunistic Encryption de HTTP2 (RFC 8164) permite que una conexión sea actualizada transparentemente a TLS mientras conserva las propiedades visuales de una conexión HTTP, incluyendo el mismo origen con conexiones no cifradas en el puerto 80. Sin embargo, si un segundo puerto cifrado en la misma dirección IP (por ejemplo, el puerto 8443) no optaba por el cifrado oportunista, un atacante de la red podía reenviar una conexión del navegador al puerto 443 al puerto 8443, causando que el navegador tratara el contenido del puerto 8443 como del mismo origen con HTTP. Esto fue resuelto deshabilitando la funcionalidad Opportunistic Encryption, que tenía un uso reducido. Esta vulnerabilidad afecta a Firefox versiones anteriores a 94, Thunderbird versiones anteriores a 91.3 y Firefox ESR versiones anteriores a 91.3
References
| https://www.mozilla.org/security/advisories/mfsa2021-49/ | vendor-advisory | |
| https://www.mozilla.org/security/advisories/mfsa2021-50/ | vendor-advisory | |
| https://www.mozilla.org/security/advisories/mfsa2021-48/ | vendor-advisory | |
| https://bugzilla.mozilla.org/show_bug.cgi?id=1730935 | issue-tracking, permissions-required, vendor-advisory | |
| https://www.debian.org/security/2021/dsa-5026 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/12/msg00030.html | mailing-list, third-party-advisory | |
| https://www.debian.org/security/2022/dsa-5034 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html | mailing-list, third-party-advisory | |
| https://security.gentoo.org/glsa/202202-03 | third-party-advisory, vendor-advisory | |
| https://security.gentoo.org/glsa/202208-14 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-38507 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-38507 changed 2026-06-17 | Public domain |