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: Algorithmic Complexity DoS in Language Middleware
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.0 to 4.12.33, the languageDetector middleware is vulnerable to algorithmic complexity denial of service when processing a crafted language tag containing a large number of hyphen separated subtags. To implement progressive language tag truncation, normalizeLanguage() repeatedly calls parts.slice(0, i).join('-') for every possible prefix, so the total amount of string processing grows quadratically with the number of subtags. Language values may come from a query parameter, cookie, Accept-Language header, or URL path, depending on the detector configuration, and the default detector order enables query string, cookie, and header detection, so applications using languageDetector() may expose this processing to unauthenticated requests. An attacker may repeatedly send requests containing long, hyphen separated language tags, causing excessive CPU consumption and preventing unrelated requests from being processed. This issue is fixed in version 4.12.34.
References
-
https://github.com/honojs/hono/security/advisories/GHSA-54fx-42gc-7vw4 x_refsource_CONFIRM
-
https://github.com/honojs/hono/releases/tag/v4.12.34 x_refsource_MISC
Affected products
- ==>= 4.12.0, < 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>