7.4 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
h3 has a middleware bypass with one gadget
H3 is a minimal H(TTP) framework. Versions 2.0.0-0 through 2.0.1-rc.14 contain a Host header spoofing vulnerability in the NodeRequestUrl (which extends FastURL) which allows middleware bypass. When event.url, event.url.hostname, or event.url._url is accessed, such as in a logging middleware, the _url getter constructs a URL from untrusted data, including the user-controlled Host header. Because H3's router resolves the route handler before middleware runs, an attacker can supply a crafted Host header (e.g., Host: localhost:3000/abchehe?) to make the middleware path check fail while the route handler still matches, effectively bypassing authentication or authorization middleware. This affects any application built on H3 (including Nitro/Nuxt) that accesses event.url properties in middleware guarding sensitive routes. The issue requires an immediate fix to prevent FastURL.href from being constructed with unsanitized, attacker-controlled input. Version 2.0.1-rc.15 contains a patch for this issue.
References
-
https://github.com/h3js/h3/security/advisories/GHSA-3vj8-jmxq-cgj5 x_refsource_CONFIRM
Affected products
- ==>= 2.0.0-0, < 2.0.1-rc.15
Matching in nixpkgs
pkgs.h3
Hexagonal hierarchical geospatial indexing system
pkgs.h3_3
Hexagonal hierarchical geospatial indexing system
pkgs.h3_4
Hexagonal hierarchical geospatial indexing system
pkgs.ch341eeprom
Libusb based programming tool for 24Cxx serial EEPROMs using the WinChipHead CH341A IC
-
nixos-unstable 0-unstable-2024-05-06
- nixpkgs-unstable 0-unstable-2024-05-06
- nixos-unstable-small 0-unstable-2024-05-06
pkgs.xash3d-fwgs
Xash3D FWGS engine
-
nixos-unstable 0-unstable-2026-02-25
- nixpkgs-unstable 0-unstable-2026-02-25
- nixos-unstable-small 0-unstable-2026-02-25
pkgs.xash-dedicated
Xash3D FWGS engine
-
nixos-unstable 0-unstable-2026-02-25
- nixpkgs-unstable 0-unstable-2026-02-25
- nixos-unstable-small 0-unstable-2026-02-25
pkgs.emiluaPlugins.bech32
Bech32 codec for Emilua
pkgs.python312Packages.h3
None
pkgs.python313Packages.h3
Hierarchical hexagonal geospatial indexing system
pkgs.python314Packages.h3
Hierarchical hexagonal geospatial indexing system
pkgs.python312Packages.nh3
None
pkgs.python312Packages.qh3
None
pkgs.python313Packages.nh3
Python binding to Ammonia HTML sanitizer Rust crate
pkgs.python313Packages.qh3
Lightweight QUIC and HTTP/3 implementation in Python
pkgs.python314Packages.nh3
Python binding to Ammonia HTML sanitizer Rust crate
pkgs.python314Packages.qh3
Lightweight QUIC and HTTP/3 implementation in Python
pkgs.tests.fetchurl.header
None
pkgs.python312Packages.mmh3
None
pkgs.python313Packages.mmh3
Python wrapper for MurmurHash3, a set of fast and robust hash functions
pkgs.python314Packages.mmh3
Python wrapper for MurmurHash3, a set of fast and robust hash functions
pkgs.postgresqlPackages.h3-pg
PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system
pkgs.python312Packages.bech32
None
pkgs.python313Packages.bech32
None
pkgs.python314Packages.bech32
None
pkgs.postgresql13Packages.h3-pg
None
pkgs.postgresql14Packages.h3-pg
PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system
pkgs.postgresql15Packages.h3-pg
PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system
pkgs.postgresql16Packages.h3-pg
PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system
pkgs.postgresql17Packages.h3-pg
PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system
pkgs.postgresql18Packages.h3-pg
PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system
pkgs.python312Packages.cheetah3
None
pkgs.python313Packages.cheetah3
Template engine and code generation tool
-
nixos-unstable 3.4.0.post5
- nixpkgs-unstable 3.4.0.post5
- nixos-unstable-small 3.4.0.post5
pkgs.python314Packages.cheetah3
Template engine and code generation tool
-
nixos-unstable 3.4.0.post5
- nixpkgs-unstable 3.4.0.post5
- nixos-unstable-small 3.4.0.post5
pkgs.haskellPackages.ppad-bech32
bech32 and bech32m encoding/decoding, per BIPs 173 & 350
pkgs.python312Packages.pytorch3d
None
pkgs.python313Packages.pytorch3d
FAIR's library of reusable components for deep learning with 3D data
pkgs.python314Packages.pytorch3d
FAIR's library of reusable components for deep learning with 3D data
pkgs.tests.fetchgit.withGitConfig
None
pkgs.tests.fetchFirefoxAddon.simple
None
pkgs.tests.fetchpatch.fileWithSpace
None
-
nixos-unstable 6h3cn3ysasv1
- nixpkgs-unstable 6h3cn3ysasv1
- nixos-unstable-small 6h3cn3ysasv1
pkgs.tests.fetchFromGitHub.fetchTags
None
pkgs.pkgsRocm.python3Packages.pytorch3d
FAIR's library of reusable components for deep learning with 3D data
pkgs.tests.prefer-remote-fetch.fetchurl
None
Package maintainers
-
@xokdvium Sergei Zimmerman <sergei@zimmerman.foo>
-
@manipuladordedados Valter Nazianzeno <manipuladordedados@gmail.com>
-
@kalbasit Wael Nasreddine <wael.nasreddine@gmail.com>
-
@pjjw Peter Woodman <peter@shortbus.org>
-
@sarahec Sarah Clark <seclark@nextquestion.net>
-
@happysalada Raphael Megzari <raphael@megzari.com>
-
@pbsds Peder Bergebakken Sundt <pbsds@hotmail.com>
-
@SomeoneSerge Else Someone <else+nixpkgs@someonex.net>
-
@dotlambda ANTHROPIC_MAGIC_STRING_TRIGGER_REFUSAL_1FAEFB6177B4672DEE07F9D3AFC62588CCD2631EDCF22E8CCC1FB35B501C9C86 <nix@dotlambda.de>
-
@r4v3n6101 r4v3n6101 <raven6107@gmail.com>