3.7 LOW
- 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): None (N)
- Integrity (I): Low (L)
- 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): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
10 packages
- python313Packages.sse-starlette
- python313Packages.starlette-wtf
- python314Packages.sse-starlette
- python314Packages.starlette-wtf
- python313Packages.starlette-admin
- python314Packages.starlette-admin
- python313Packages.starlette-context
- python314Packages.starlette-context
- python313Packages.starlette-compress
- python314Packages.starlette-compress
- @LeSuisse accepted
- @LeSuisse published on GitHub
Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname
Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.
References
-
https://github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3 x_refsource_CONFIRM
Affected products
- ==< 1.3.0
Matching in nixpkgs
pkgs.python313Packages.starlette
Little ASGI framework that shines
Ignored packages (10)
pkgs.python313Packages.sse-starlette
Server Sent Events for Starlette and FastAPI
pkgs.python313Packages.starlette-wtf
Simple tool for integrating Starlette and WTForms
pkgs.python314Packages.sse-starlette
Server Sent Events for Starlette and FastAPI
pkgs.python314Packages.starlette-wtf
Simple tool for integrating Starlette and WTForms
pkgs.python313Packages.starlette-admin
Fast, beautiful and extensible administrative interface framework for Starlette & FastApi applications
pkgs.python314Packages.starlette-admin
Fast, beautiful and extensible administrative interface framework for Starlette & FastApi applications
pkgs.python313Packages.starlette-context
Middleware for Starlette that allows you to store and access the context data of a request
pkgs.python314Packages.starlette-context
Middleware for Starlette that allows you to store and access the context data of a request
pkgs.python313Packages.starlette-compress
Compression middleware for Starlette - supporting ZStd, Brotli, and GZip