CVE-2021-38507

NameCVE-2021-38507
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2863-1, DLA-2874-1, DSA-5026-1, DSA-5034-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid133.0.3-1fixed
firefox-esr (PTS)bullseye115.14.0esr-1~deb11u1fixed
bullseye (security)128.5.0esr-1~deb11u1fixed
bookworm128.3.1esr-1~deb12u1fixed
bookworm (security)128.5.0esr-1~deb12u1fixed
trixie128.5.0esr-1fixed
sid128.5.1esr-1fixed
thunderbird (PTS)bullseye1:115.12.0-1~deb11u1fixed
bullseye (security)1:128.5.0esr-1~deb11u1fixed
bookworm1:115.16.0esr-1~deb12u1fixed
bookworm (security)1:128.5.0esr-1~deb12u1fixed
sid, trixie1:128.5.2esr-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)94.0-1
firefox-esrsourcestretch91.4.1esr-1~deb9u1DLA-2863-1
firefox-esrsourcebullseye91.4.1esr-1~deb11u1DSA-5026-1
firefox-esrsource(unstable)91.3.0esr-1
thunderbirdsourcestretch1:91.4.1-1~deb9u1DLA-2874-1
thunderbirdsourcebuster1:91.4.1-1~deb10u1DSA-5034-1
thunderbirdsourcebullseye1:91.4.1-1~deb11u1DSA-5034-1
thunderbirdsource(unstable)1:91.3.0-1

Notes

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://www.mozilla.org/en-US/security/advisories/mfsa2021-50/#CVE-2021-38507

Search for package or bug name: Reporting problems