VULNERABILITY

FreeBSD: VID-475D1968-F99D-11EF-B382-B0416F0C4C67 (CVE-2025-27154): Spotipy -- Spotipy's cache file, containing spotify auth token, is created with overly broad permissions

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

FreeBSD: VID-475D1968-F99D-11EF-B382-B0416F0C4C67 (CVE-2025-27154): Spotipy -- Spotipy's cache file, containing spotify auth token, is created with overly broad permissions

Severity
9
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:N)
Published
02/27/2025
Created
03/11/2025
Added
03/06/2025
Modified
04/11/2025

Description

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.

Solution(s)

  • freebsd-upgrade-package-py310-spotipy
  • freebsd-upgrade-package-py311-spotipy
  • freebsd-upgrade-package-py38-spotipy
  • freebsd-upgrade-package-py39-spotipy

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;