# CVE-2024-25622: H2O ignores headers configuration directives

- Severity: Low 3.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-11T14:20:31.921Z
- Modified: 2026-06-17T07:16:18.730Z
- Weaknesses: CWE-670
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- h2o h2o: < 123f5e2b65dcdba8f7ef659a00d24bd1249141be
- dena h2o: up to 2024-02-11

## Every score

- GitHub_M: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/h2o/h2o/security/advisories/GHSA-5m7v-cj65-h6pj> (exploit, vendor-advisory)
- <https://github.com/h2o/h2o/issues/3332> (issue-tracking)
- <https://github.com/h2o/h2o/commit/123f5e2b65dcdba8f7ef659a00d24bd1249141be> (patch)

## Sources

- CVE List: [CVE-2024-25622](https://www.cve.org/CVERecord?id=CVE-2024-25622), CVE Terms of Use, modified 2024-10-11
- NVD: [CVE-2024-25622](https://nvd.nist.gov/vuln/detail/CVE-2024-25622), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-25622 · Whole record: https://cve.day/CVE-2024-25622.json · Rebuilt by cve.day 2026-11-25T22:58:46.656Z
