PyPi: Starlette

CVE-2023-29159

Safety vulnerability ID: 58713

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Jun 01, 2023 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Starlette 0.27.0 fixes a vulnerability: Path traversal vulnerability in StaticFiles.
https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px

Affected package

starlette

Latest version: 0.41.3

The little ASGI library that shines.

Affected versions

Fixed versions

Vulnerability changelog

This release fixes a path traversal vulnerability in `StaticFiles`. You can view the full security advisory:
https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px

Added
* Minify JSON websocket data via `send_json` https://github.com/encode/starlette/pull/2128

Fixed
* Replace `commonprefix` by `commonpath` on `StaticFiles` [1797de4](https://github.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3).
* Convert ImportErrors into ModuleNotFoundError [2135](https://github.com/encode/starlette/pull/2135).
* Correct the RuntimeError message content in websockets [2141](https://github.com/encode/starlette/pull/2141).

**Full Changelog**: https://github.com/encode/starlette/compare/0.26.1...0.27.0

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
NONE