SCA: security update for spotipy (GHSA-pwhh-q4h6-w599)

high Tenable Cloud Security Plugin ID 421013

Description

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

- Spotipy is a lightweight Python library for the Spotify Web API. The `CacheHandler` class creates a cache
file to store the auth token. Prior to version 2.25.1, the file created has `rw-r--r--` (644) permissions
by default, when it could be locked down to `rw-------` (600) permissions. This leads to overly broad
exposure of the spotify auth token. If this token can be read by an attacker (another user on the machine,
or a process running as another user), it can be used to perform administrative actions on the Spotify
account, depending on the scope granted to the token. Version 2.25.1 tightens the cache file permissions.
(CVE-2025-27154)

See Also

https://github.com/advisories/GHSA-pwhh-q4h6-w599

Plugin Details

Severity: High

ID: 421013

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 2/28/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.95

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2025-27154

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: High

Base Score: 8.4

Threat Score: 7

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/28/2025

Vulnerability Publication Date: 2/27/2025

Reference Information

CVE: CVE-2025-27154

cwe: CWE-276