What’s Vulnerable › Vulnerabilities
CVE-2021-43848: Unititialized memory access in h2o
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-01 · updated 2026-06-17
- Weakness: CWE-908
Description
h2o is an open source http server. In code prior to the `8c0eca3` commit h2o may attempt to access uninitialized memory. 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. 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. There are no known workarounds. Users of unreleased versions of h2o using HTTP/3 are advised to upgrade immediately.
Affected products
- h2o: before 2021-12-20 — fixed in 2021-12-20
How to fix
Upgrade to a fixed version: h2o 2021-12-20. Check the vendor advisory for mitigations.
References
- https://github.com/h2o/h2o/commit/8c0eca3
- https://github.com/h2o/h2o/security/advisories/GHSA-f9xw-j925-m4m4
- https://github.com/h2o/h2o/commit/8c0eca3
- https://github.com/h2o/h2o/security/advisories/GHSA-f9xw-j925-m4m4
Get alerted when CVE-2021-43848 or the next vulnerability affects your stack