Authentication Bypass by Assumed-Immutable Data Affecting github.com/navidrome/navidrome/core/auth package, versions <0.50.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authentication Bypass by Assumed-Immutable Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMNAVIDROMENAVIDROMECOREAUTH-6132368
  • published20 Dec 2023
  • disclosed19 Dec 2023
  • creditcrazygolem

Introduced: 19 Dec 2023

CVE-2023-51442  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade github.com/navidrome/navidrome/core/auth to version 0.50.2 or higher.

Overview

github.com/navidrome/navidrome/core/auth is a modern Music Server and Streamer compatible with Subsonic/Airsonic

Affected versions of this package are vulnerable to Authentication Bypass by Assumed-Immutable Data via the subsonic /rest/ authentication endpoint. An attacker can gain unauthorized access to any known account by providing a JWT signed with a hardcoded key.

Note: This is only exploitable on instances that have never been restarted.

Workaround

This vulnerability can be mitigated by restarting the Navidrome instance, which will cause the application to load a properly generated random key, rendering the hardcoded fallback key ineffective.

CVSS Scores

version 3.1