SCA: security update for spotipy (GHSA-q764-g6fm-555v)

medium Tenable Self-Hosted Container Security Plugin ID 417952

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2023-23608)

See Also

https://github.com/advisories/GHSA-q764-g6fm-555v

Plugin Details

Severity: Medium

ID: 417952

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2023-23608

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/23/2023

Vulnerability Publication Date: 1/23/2023

Reference Information

CVE: CVE-2023-23608

cwe: CWE-22