Skip to content

Unititialized memory access in HTTP/3 server-side implementation

Moderate
kazuho published GHSA-f9xw-j925-m4m4 Jan 31, 2022

Package

h2o (C)

Affected versions

93af138..8c0eca3

Patched versions

8c0eca3

Description

Impact

When receiving QUIC frames in certain order, HTTP/3 server-side implementation of h2o can be misguided to treat uninitialized memory as HTTP/3 frames that have been received. When h2o is used as a reverse proxy, an attacker can abuse this vulnerability to send internal state of h2o to backend servers controlled by the attacker or third party. Also, if there is an HTTP endpoint that reflects the traffic sent from the client, an attacker can use that reflector to obtain internal state of h2o.

This internal state includes traffic of other connections in unencrypted form and TLS session tickets.

Patches

This vulnerability exists in h2o server with HTTP/3 support, between commit 93af138 and d1f0f65. None of the released versions of h2o are affected by this vulnerability.

Workarounds

There are no known workarounds. Users of unreleased versions of h2o using HTTP/3 are advised to upgrade immediately.

Acknowledgement

This vulnerability was reported by Emil Lerner

Severity

Moderate
5.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

CVE ID

CVE-2021-43848

Weaknesses

No CWEs