CVE-2024-25622 Details
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.
A vulnerability exists in the h2o HTTP server that affects the headers configuration directive. When a header is set in an inner scope, such as at the path level, it overrides the headers defined in outer scopes, like the global level. This can result in expected headers not being sent, potentially leading to unintended behavior for clients. The issue has been observed in h2o versions prior to the patch included in commit 123f5e2.
The vulnerability has been fixed in h2o versions 123f5e2 and above. Users can update to the latest version to address this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 11, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/h2o/h2o/commit/123f5e2b65dcdba8f7ef659a00d24bd1249141be | [email protected] | Patch |
| https://github.com/h2o/h2o/issues/3332 | [email protected] | Issue Tracking |
| https://github.com/h2o/h2o/security/advisories/GHSA-5m7v-cj65-h6pj | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-670 | Always-Incorrect Control Flow Implementation | [email protected] |
| CWE-670 | Always-Incorrect Control Flow Implementation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dena h2o | <= 2024-02-11 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 12, 2024 | Initial Analysis | [email protected] |
| Oct 11, 2024 | New CVE Received | [email protected] |