CVE-2024-25622
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-25622 affects h2o, an HTTP server with support for HTTP/1.x, HTTP/2, and HTTP/3. The vulnerability was discovered on October 11, 2024, and involves a configuration issue where header directives in inner scopes unexpectedly override all header definitions from outer scopes, potentially leading to security headers being omitted (GitHub Advisory). The vulnerability affects all versions up to February 11, 2024.

Technical details

The vulnerability stems from a configuration handling flaw where when a header directive is used in an inner scope (e.g., path level), all header definitions in outer scopes (e.g., global level) are ignored instead of being inherited as expected. This behavior has been assigned a CVSS v3.1 base score of 3.1 (LOW) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N, indicating network accessibility but high attack complexity (NVD).

Impact

The vulnerability can result in headers not being modified as expected, which could lead to unexpected client behavior. For example, if security headers like X-XSS-Protection are set globally but another header is set at a path level, the security header would be unexpectedly omitted, potentially leaving the application vulnerable to attacks that the security header was meant to prevent (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in commit 123f5e2b65dcdba8f7ef659a00d24bd1249141be. As a workaround for users unable to update immediately, when using headers directives at the inner scope, all settings defined at the outer scope should be repeated at the inner scope level (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management