CVE-2023-23608

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2023-23608
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-23608.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-23608
Aliases
Published
2023-01-26T21:18:13Z
Modified
2024-05-14T12:42:29.915888Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/spotipy-dev/spotipy

Affected ranges

Type
GIT
Repo
https://github.com/spotipy-dev/spotipy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.10.0
2.11.0
2.11.1
2.11.2
2.12.0
2.13.0
2.14.0
2.15.0
2.16.0
2.16.1
2.17.0
2.17.1
2.18.0
2.19.0
2.20.0
2.21.0
2.22.0
2.5.0
2.6.0
2.6.1
2.6.2
2.6.3
2.7.0
2.7.1
2.8.0
2.9.0