# CVE-2021-38507

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-12-08 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2021-38507, DEBIAN-CVE-2021-38507, ALPINE-CVE-2021-38507
- Record: https://cvemate.com/vulnerability/CVE-2021-38507 · JSON: https://cvemate.com/vulnerability/CVE-2021-38507/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.832%, percentile 58.878%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine firefox (Alpine Linux): \< 94.0-r0
- alpine firefox-esr (Alpine Linux): \< 91.3.0-r0
- alpine librewolf (Alpine Linux): \< 94.0-r0
- alpine thunderbird (Alpine Linux): \< 91.3.2-r0
- debian firefox-esr (Debian): \< 91.3.0esr-1
- debian thunderbird (Debian): \< 1:91.3.0-1
- ubuntu firefox (Ubuntu): \< 94.0+build3-0ubuntu0.18.04.1 \| \< 94.0+build3-0ubuntu0.20.04.1 \| \< 94.0+build3-0ubuntu1
- ubuntu mozjs38 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs52 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs68 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs78 (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): \< 1:91.5.0+build1-0ubuntu0.18.04.1 \| \< 1:91.5.0+build1-0ubuntu0.20.04.1 \| \< 1:91.3.1+build1-0ubuntu1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- mozilla firefox: ≥ unspecified, \< 94 \| \< 94.0
- mozilla firefox esr: ≥ unspecified, \< 91.3 \| \< 91.3.0
- mozilla thunderbird: ≥ unspecified, \< 91.3 \| \< 91.3.0

## References

- <https://www.mozilla.org/security/advisories/mfsa2021-49/>
- <https://www.mozilla.org/security/advisories/mfsa2021-50/>
- <https://www.mozilla.org/security/advisories/mfsa2021-48/>
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1730935>
- <https://www.debian.org/security/2021/dsa-5026>
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00030.html>
- <https://www.debian.org/security/2022/dsa-5034>
- <https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html>
- <https://security.gentoo.org/glsa/202202-03>
- <https://security.gentoo.org/glsa/202208-14>
- <https://ubuntu.com/security/CVE-2021-38507>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2021-48/#CVE-2021-38507>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2021-49/#CVE-2021-38507>
- <https://ubuntu.com/security/notices/USN-5131-1>
- <https://ubuntu.com/security/notices/USN-5152-1>
- <https://ubuntu.com/security/notices/USN-5248-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-38507>
- <https://security-tracker.debian.org/tracker/CVE-2021-38507>
- <https://security.alpinelinux.org/vuln/CVE-2021-38507>

---

Data as of 2026-12-05T06:22:09.075Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
