5.3 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): Low (L)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): Low (L)
Activity log
- Created suggestion
Hono: ReDoS in CORS middleware via Access-Control-Request-Headers
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.34, the built-in CORS middleware, hono/cors, is vulnerable to a regular expression denial of service (ReDoS). During a preflight OPTIONS request, the middleware parses the attacker-controlled Access-Control-Request-Headers header using a whitespace-tolerant regular expression whose backtracking makes its running time quadratic in the input length. Because the header value is bounded only by the deployment's maximum HTTP header size, a single preflight carrying a long run of whitespace can consume seconds of CPU and block request processing. On runtimes that share one execution thread across requests, this stalls concurrent requests as well, and repeated requests can render the service unresponsive. This affects the default configuration, since the vulnerable path is reached whenever cors() is used with an unset or empty allowHeaders. Applications that set a non-empty allowHeaders are not affected. This issue is fixed in version 4.12.34.
References
-
https://github.com/honojs/hono/security/advisories/GHSA-8j4g-w8fx-2239 x_refsource_CONFIRM
-
https://github.com/honojs/hono/releases/tag/v4.12.34 x_refsource_MISC
Affected products
- ==< 4.12.34
Matching in nixpkgs
pkgs.kdePackages.phonon
Multi-platform sound framework for application developers
pkgs.kdePackages.phonon-vlc
VLC backend for the Phonon multimedia library
pkgs.typstPackages.phonokit
None
pkgs.python313Packages.phonopy
Modulefor phonon calculations at harmonic and quasi-harmonic levels
pkgs.python314Packages.phonopy
Modulefor phonon calculations at harmonic and quasi-harmonic levels
pkgs.typstPackages.phonokit_0_0_1
None
pkgs.typstPackages.phonokit_0_2_0
None
pkgs.typstPackages.phonokit_0_3_0
None
pkgs.typstPackages.phonokit_0_3_5
None
pkgs.typstPackages.phonokit_0_3_6
None
pkgs.typstPackages.phonokit_0_3_7
None
pkgs.typstPackages.phonokit_0_4_0
None
pkgs.typstPackages.phonokit_0_4_1
None
pkgs.typstPackages.phonokit_0_4_5
None
pkgs.typstPackages.phonokit_0_4_6
None
pkgs.typstPackages.phonokit_0_5_0
None
pkgs.typstPackages.phonokit_0_5_1
None
pkgs.typstPackages.phonokit_0_5_2
None
pkgs.typstPackages.phonokit_0_5_3
None
pkgs.typstPackages.phonokit_0_5_4
None
pkgs.typstPackages.phonokit_0_5_5
None
pkgs.typstPackages.phonokit_0_5_6
None
pkgs.typstPackages.phonokit_0_5_7
None
pkgs.typstPackages.phonokit_0_5_8
None
pkgs.python313Packages.pythonocc-core
Python wrapper for the OpenCASCADE 3D modeling kernel
-
nixos-unstable 7.9.0-unstable-2025-12-31
- nixpkgs-unstable 7.9.0-unstable-2025-12-31
- nixos-unstable-small 7.9.0-unstable-2025-12-31
-
nixos-26.05 7.9.0-unstable-2025-12-31
- nixos-26.05-small 7.9.0-unstable-2025-12-31
- nixpkgs-26.05-darwin 7.9.0-unstable-2025-12-31
pkgs.python314Packages.pythonocc-core
Python wrapper for the OpenCASCADE 3D modeling kernel
-
nixos-unstable 7.9.0-unstable-2025-12-31
- nixpkgs-unstable 7.9.0-unstable-2025-12-31
- nixos-unstable-small 7.9.0-unstable-2025-12-31
-
nixos-26.05 7.9.0-unstable-2025-12-31
- nixos-26.05-small 7.9.0-unstable-2025-12-31
- nixpkgs-26.05-darwin 7.9.0-unstable-2025-12-31
Package maintainers
-
@LunNova Luna Nova <nixpkgs-maintainer@lunnova.dev>
-
@SuperSandro2000 Sandro Jäckel <sandro.jaeckel@gmail.com>
-
@K900 Ilya K. <me@0upti.me>
-
@bkchr Bastian Köcher <nixos@kchr.de>
-
@mjm Matt Moriarity <matt@mattmoriarity.com>
-
@FRidh Frederik Rietdijk <fridh@fridh.nl>
-
@peterhoeg Peter Hoeg <peter@hoeg.com>
-
@ilya-fedin Ilya Fedin <fedin-ilja2010@ya.ru>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@nyanloutre Paul Trehiou <paul@nyanlout.re>
-
@PsyanticY Psyanticy <iuns@outlook.fr>
-
@CHN-beta Haonan Chen <chn@chn.moe>