6.3 MEDIUM
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): Present (P)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): Low (L)
- Vulnerable System Impact Availability (VA): None (N)
- Subsequent System Impact Confidentiality (SC): Low (L)
- Subsequent System Impact Integrity (SI): Low (L)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): Present (P)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): Low (L)
- Modified Vulnerable System Impact Availability (MVA): None (N)
- Modified Subsequent System Impact Confidentiality (MSC): Low (L)
- Modified Subsequent System Impact Integrity (MSI): Low (L)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse dismissed (not in Nixpkgs)
gun HTTP/2 PUSH_PROMISE authority not validated against connection origin allows cross-origin cookie injection
Origin Validation Error vulnerability in ninenines gun (gun_http2 module) allows cross-origin cookie injection via unvalidated HTTP/2 PUSH_PROMISE authority. In gun_http2:push_promise_frame/7, the :authority pseudo-header from an incoming PUSH_PROMISE frame is stored verbatim into the promised stream record without checking that it matches the connection's origin. When gun_http2:headers_frame/9 later processes the response headers for the promised stream, it calls gun_cookies:set_cookie_header/7 with the unvalidated server-supplied authority before any status branching and before user code can act. This violates RFC 7540 §10.6 / RFC 9113 §8.4, which require receivers to treat as a protocol error any push for a resource the server is not authoritative for. A malicious or compromised HTTP/2 server can plant cookies scoped to arbitrary third-party domains into the client's shared cookie store. This enables session fixation attacks against those domains and, if the planted cookie overrides a legitimate session token, may result in account takeover. No user interaction beyond making a normal HTTP/2 request to the attacker-controlled server is required. This issue affects gun: from 2.0.0 before 2.4.0.
References
Affected products
- <2.4.0
- <567863ff53802fed21c3b3f25812db7f7ae29676
Matching in nixpkgs
pkgs.shogun
Toolbox which offers a wide range of efficient and unified machine learning methods
pkgs.gungnir
Command-line tool that continuously monitors certificate transparency (CT) logs for newly issued SSL/TLS certificates
pkgs.nailgun
Client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead
pkgs.shotgun
Minimal X screenshot utility
pkgs.haskellPackages.hailgun
Mailgun REST api interface for Haskell
pkgs.python313Packages.gunicorn
WSGI HTTP Server for UNIX, fast clients and sleepy applications
pkgs.python314Packages.gunicorn
WSGI HTTP Server for UNIX, fast clients and sleepy applications
pkgs.python313Packages.freezegun
Library that allows your Python tests to travel through time
pkgs.python314Packages.freezegun
Library that allows your Python tests to travel through time
pkgs.terraform-providers.mailgun
None
pkgs.haskellPackages.hailgun-simple
Easy-to-use wrapper for the hailgun package
pkgs.python313Packages.pymailgunner
Library for interacting with Mailgun e-mail service
pkgs.python314Packages.pymailgunner
Library for interacting with Mailgun e-mail service
pkgs.python313Packages.types-freezegun
Typing stubs for freezegun
pkgs.python314Packages.types-freezegun
Typing stubs for freezegun
pkgs.python313Packages.pytest-freezegun
Wrap tests with fixtures in freeze_time
pkgs.python314Packages.pytest-freezegun
Wrap tests with fixtures in freeze_time
pkgs.terraform-providers.wgebis_mailgun
None
Package maintainers
-
@CherryKitten CherryKitten <contact@cherrykitten.dev>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@getchoo Seth Flynn <getchoo@tuta.io>
-
@Mic92 Jörg Thalheim <joerg@thalheim.io>
-
@jpetrucciani Jacobi Petrucciani <j@cobi.dev>
-
@smancill Sebastián Mancilla <smancill@smancill.dev>
-
@edwtjo Edward Tjörnhammar <ed@cflags.cc>
-
@lumi-me-not lumi <lumi@pew.im>