Medium severity · published Oct 11, 2024
CVE-2024-25622
H2O ignores headers configuration directives
4.3
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
H2
h2o · h2o
< 123f5e2b65dcdba8f7ef659a00d24bd1249141be · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-25622
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-25622
Patch
https://github.com/h2o/h2o/commit/123f5e2b65dcdba8f7ef659a00d24bd1249141be
Issue Tracking
https://github.com/h2o/h2o/issues/3332
Exploit
https://github.com/h2o/h2o/security/advisories/GHSA-5m7v-cj65-h6pj
More from h2o
9.8
CVE-2026-8751
h2oai h2o-3 JAR Model.java importBinaryModel deserialization
9.8
CVE-2026-3960
Remote Code Execution in h2oai/h2o-3
9.8
CVE-2025-10769
h2oai h2o-3 H2 JDBC Driver ImportSQLTable deserialization
9.8
CVE-2025-10768
h2oai h2o-3 IBMDB2 JDBC Driver ImportSQLTable deserialization
9.8
CVE-2025-6544
Deserialization Vulnerability in h2oai/h2o-3
