Vulnerability · Published Oct 11, 2024 · Assigned by GitHub_M

CVE-2024-25622H2O ignores headers configuration directives

Low 3.1

In plain English

A low-severity security flaw in h2o from h2o. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).

Severity (CVSS 3.1)3.1Low
Exploit odds (30 days)0.5%top 59.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and HTTP/3. The configuration directives provided by the headers handler allows users to modify the response headers being sent by h2o. The configuration file of h2o has scopes, and the inner scopes (e.g., path level) are expected to inherit the configuration defined in outer scopes (e.g., global level). However, if a header directive is used in the inner scope, all the definition in outer scopes are ignored. This can lead to headers not being modified as expected. Depending on the headers being added or removed unexpectedly, this behavior could lead to unexpected client behavior. This vulnerability is fixed in commit 123f5e2b65dcdba8f7ef659a00d24bd1249141be.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12h2ono fix listedDEBIAN-CVE-2024-25622
Ubuntu:24.04:LTSh2ono fix listedUBUNTU-CVE-2024-25622

Affected products (as reported)

VendorProductVersions
h2o h2o < 123f5e2b65dcdba8f7ef659a00d24bd1249141be

Weakness: CWE-670 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

References