Bug 2019625 (CVE-2021-38507)

Summary: CVE-2021-38507 Mozilla: Opportunistic Encryption in HTTP2 could be used to bypass the Same-Origin-Policy on services hosted on other ports
Product: [Other] Security Response Reporter: Doran Moppert <dmoppert>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: erack, jhorak, nobody, stransky, tpopela
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: firefox 91.3, thunderbird 91.3 Doc Type: If docs needed, set a value
Doc Text:
The Mozilla Foundation Security Advisory describes this flaw as: 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-03 20:07:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2019237, 2019238, 2019239, 2019240, 2019241, 2019242, 2019243, 2019244, 2019245, 2019246, 2019247, 2019248, 2019249, 2019250, 2019251, 2019254, 2019255, 2019256, 2019257, 2019258, 2019259, 2019260, 2019362, 2019363    
Bug Blocks: 2019235    

Description Doran Moppert 2021-11-03 00:42:09 UTC
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.



External Reference:

https://www.mozilla.org/en-US/security/advisories/mfsa2021-49/#CVE-2021-38507

Comment 1 errata-xmlrpc 2021-11-03 16:03:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:4116 https://access.redhat.com/errata/RHSA-2021:4116

Comment 2 errata-xmlrpc 2021-11-03 19:41:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4123 https://access.redhat.com/errata/RHSA-2021:4123

Comment 3 Product Security DevOps Team 2021-11-03 20:07:59 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-38507

Comment 4 errata-xmlrpc 2021-11-04 16:44:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:4133 https://access.redhat.com/errata/RHSA-2021:4133

Comment 5 errata-xmlrpc 2021-11-04 16:55:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:4132 https://access.redhat.com/errata/RHSA-2021:4132

Comment 6 errata-xmlrpc 2021-11-04 16:57:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4130 https://access.redhat.com/errata/RHSA-2021:4130

Comment 7 errata-xmlrpc 2021-11-04 17:27:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:4134 https://access.redhat.com/errata/RHSA-2021:4134

Comment 9 errata-xmlrpc 2021-11-10 09:54:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:4607 https://access.redhat.com/errata/RHSA-2021:4607

Comment 10 errata-xmlrpc 2021-11-10 10:35:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:4605 https://access.redhat.com/errata/RHSA-2021:4605