CVE-2024-41259: Github.com/navidrome/navidrome Navidrome Uses MD5 Hashing Algorithm Vulnerability

MODERATE
Advisory Identifier: GHSA-hrmx-8jjv-g758
CVSS 6.5
CWE-305 CWE-306 CWE-200
Published
Advisory Summary

CVE-2024-41259 is a MODERATE (CVSS 6.5) navidrome uses md5 hashing algorithm vulnerability (CWE-305: Authentication Bypass by Primary Weakness) affecting Github.com/navidrome/navidrome libraries in the Go ecosystem. The issue involves navidrome uses md5 hashing algorithm. Remediation is available in the latest vendor maintenance releases.

CVE-2024-41259 at a Glance

CVE Identifier CVE-2024-41259
GHSA Identifier GHSA-hrmx-8jjv-g758
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-305: Authentication Bypass by Primary Weakness
Affected Product Github.com/navidrome/navidrome
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2024-41259

To remediate this vulnerability, upgrade all affected Github.com/navidrome/navidrome dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/navidrome/navidrome fixed: Latest secure release
Upgrade github.com/navidrome/navidrome to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/navidrome/navidrome

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-41259, inspect your project dependencies for Github.com/navidrome/navidrome:

inspect dependencies for github.com/navidrome/navidrome

Analyze the terminal output to locate any version of Github.com/navidrome/navidrome in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-305: Authentication Bypass by Primary Weakness, where the authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. In Github.com/navidrome/navidrome, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Use of insecure hashing algorithm in the Gravatar's service in Navidrome v0.52.3 allows attackers to manipulate a user's account information.

CVE-2024-41259 Affected Github.com/navidrome/navidrome Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/navidrome/navidrome
Go
≤ 0.52.3

References

Frequently Asked Questions

What is CVE-2024-41259?
CVE-2024-41259 is a security vulnerability in Github.com/navidrome/navidrome involving Navidrome uses MD5 hashing algorithm under CWE-305: Authentication Bypass by Primary Weakness.
Which Github.com/navidrome/navidrome versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/navidrome/navidrome.
What version fixes CVE-2024-41259?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/navidrome/navidrome affected?
Yes, github.com/navidrome/navidrome is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-41259?
CVE-2024-41259 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2024-41259?
CVE-2024-41259 is classified under CWE-305: Authentication Bypass by Primary Weakness (The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.).
How can I check Go dependencies for CVE-2024-41259?
Run the dependency tree command: 'inspect dependencies for github.com/navidrome/navidrome'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hrmx-8jjv-g758",
  "modified" : "2024-08-07T19:38:27Z",
  "published" : "2024-08-01T21:31:41Z",
  "aliases" : [ "CVE-2024-41259" ],
  "summary" : "Navidrome uses MD5 hashing algorithm",
  "details" : "Use of insecure hashing algorithm in the Gravatar's service in Navidrome v0.52.3 allows attackers to manipulate a user's account information.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/navidrome/navidrome"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.52.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-41259"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/nyxfqq/d192af10b53a363e2d9e430068333e04"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/navidrome/navidrome"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2024-3029"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-305", "CWE-306" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-02T13:25:53Z",
    "nvd_published_at" : "2024-08-01T21:15:36Z"
  }
}