CWE
670
Advisory Published
Updated

CVE-2024-25622: H2O ignores headers configuration directives

First published: Fri Oct 11 2024(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Dena H20<=2024-02-11

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-25622?

    CVE-2024-25622 is classified as a moderate severity vulnerability affecting the h2o HTTP server.

  • How do I fix CVE-2024-25622?

    To fix CVE-2024-25622, update your h2o server to a version later than 2024-02-11.

  • What impact does CVE-2024-25622 have on the h2o server?

    CVE-2024-25622 allows unauthorized modification of response headers, potentially affecting security and data integrity.

  • What versions of h2o are affected by CVE-2024-25622?

    CVE-2024-25622 affects all versions of h2o up to and including 2024-02-11.

  • Is there a workaround for CVE-2024-25622?

    Currently, the best workaround for CVE-2024-25622 is to upgrade to a fixed version of h2o.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203