Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904293 (CVE-2023-23608) - <dev-python/spotipy-2.23.0: insufficient URI input validation
Summary: <dev-python/spotipy-2.23.0: insufficient URI input validation
Status: RESOLVED FIXED
Alias: CVE-2023-23608
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/spotipy-dev/spotip...
Whiteboard: B4 [noglsa]
Keywords:
Depends on: 904294
Blocks:
  Show dependency tree
 
Reported: 2023-04-14 02:00 UTC by John Helmert III
Modified: 2023-04-30 23:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-04-14 02:00:27 UTC
CVE-2023-23608:

Spotipy is a light weight Python library for the Spotify Web API. In versions prior to 2.22.1, if a malicious URI is passed to the library, the library can be tricked into performing an operation on a different API endpoint than intended. The code Spotipy uses to parse URIs and URLs allows an attacker to insert arbitrary characters into the path that is used for API requests. Because it is possible to include "..", an attacker can redirect for example a track lookup via spotifyApi.track() to an arbitrary API endpoint like playlists, but this is possible for other endpoints as well. The impact of this vulnerability depends heavily on what operations a client application performs when it handles a URI from a user and how it uses the responses it receives from the API. This issue is patched in version 2.22.1.

Please stabilize 2.23.0.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-04-14 13:16:38 UTC
cleanup done.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-04-30 23:27:49 UTC
High exploitation complexity, no GLSA. Thanks!