Skip to content

CVE-2024-25622 H2O ignores headers configuration directives

MediumCVSS 4.3 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 1 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/h2o(Debian 12) = 2.2.5+dfsg2-7; = 2.2.5+dfsg2-8; = 2.2.5+dfsg2-8.1; = 2.2.5+dfsg2-8.1~exp1 +4 more No fix listed No fix yet
ubuntu/h2o(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/h2o(Ubuntu 24.04) = 2.2.5+dfsg2-7; = 2.2.5+dfsg2-8; = 2.2.5+dfsg2-8.1ubuntu1; = 2.2.5+dfsg2-8.1ubuntu2 +2 more No fix listed No fix yet
ubuntu/h2o(Ubuntu Pro 18.04) = 2.2.3+dfsg-2; = 2.2.4+dfsg-1; = 2.2.4+dfsg-1build1; = 2.2.4+dfsg-1ubuntu0.1~esm2 +2 more No fix listed No fix yet
ubuntu/h2o(Ubuntu Pro 20.04) = 2.2.5+dfsg2-3; = 2.2.5+dfsg2-3build1; = 2.2.5+dfsg2-3ubuntu0.1~esm1; All versions No fix listed No fix yet
ubuntu/h2o(Ubuntu Pro 22.04) = 2.2.5+dfsg2-6; = 2.2.5+dfsg2-6.1; = 2.2.5+dfsg2-6.1ubuntu1; = 2.2.5+dfsg2-6.1ubuntu2 +2 more No fix listed No fix yet
dena h2o <= 2024-02-11 after 2024-02-11 Fixed
h2o = < 123f5e2b65dcdba8f7ef659a00d24bd1249141be No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/h2o(Debian:12) All versions No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-10 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-11 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-7 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-8 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-8.1 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-8.1~exp1 No fix listed
debian/h2o(Debian:12) = 2.2.5+dfsg2-9 No fix listed
ubuntu/h2o(Ubuntu:22.04) All versions No fix listed
h2o = < 123f5e2b65dcdba8f7ef659a00d24bd1249141be No fix listed
ubuntu/h2o(Ubuntu:24.04) All versions No fix listed
dena h2o <= 2024-02-11 No fix listed
ubuntu/h2o(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/h2o(Ubuntu:Pro:18.04) = 2.2.3+dfsg-2 No fix listed
ubuntu/h2o(Ubuntu:Pro:18.04) = 2.2.4+dfsg-1 No fix listed
ubuntu/h2o(Ubuntu:Pro:18.04) = 2.2.4+dfsg-1build1 No fix listed
ubuntu/h2o(Ubuntu:Pro:18.04) = 2.2.4+dfsg-1ubuntu0.1~esm2 No fix listed
ubuntu/h2o(Ubuntu:Pro:18.04) = 2.2.4+dfsg-1ubuntu0.1~esm3 No fix listed
ubuntu/h2o(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/h2o(Ubuntu:Pro:20.04) = 2.2.5+dfsg2-3 No fix listed
ubuntu/h2o(Ubuntu:Pro:20.04) = 2.2.5+dfsg2-3build1 No fix listed
ubuntu/h2o(Ubuntu:Pro:20.04) = 2.2.5+dfsg2-3ubuntu0.1~esm1 No fix listed
ubuntu/h2o(Ubuntu:Pro:22.04) All versions No fix listed
ubuntu/h2o(Ubuntu:Pro:22.04) = 2.2.5+dfsg2-6 No fix listed
ubuntu/h2o(Ubuntu:Pro:22.04) = 2.2.5+dfsg2-6.1 No fix listed
Show 8 more
ProductAffected versionsFixed in
ubuntu/h2o(Ubuntu:Pro:22.04) = 2.2.5+dfsg2-6.1ubuntu1 No fix listed
ubuntu/h2o(Ubuntu:Pro:22.04) = 2.2.5+dfsg2-6.1ubuntu2 No fix listed
ubuntu/h2o(Ubuntu:Pro:22.04) = 2.2.5+dfsg2-6.1ubuntu2+esm1 No fix listed
ubuntu/h2o(Ubuntu:24.04) = 2.2.5+dfsg2-7 No fix listed
ubuntu/h2o(Ubuntu:24.04) = 2.2.5+dfsg2-8 No fix listed
ubuntu/h2o(Ubuntu:24.04) = 2.2.5+dfsg2-8.1ubuntu1 No fix listed
ubuntu/h2o(Ubuntu:24.04) = 2.2.5+dfsg2-8.1ubuntu2 No fix listed
ubuntu/h2o(Ubuntu:24.04) = 2.2.5+dfsg2-8.1ubuntu3 No fix listed

References