CVE-2024-56362: Github.com/navidrome/navidrome Navidrome Stores JWT Secret Vulnerability
HIGHCVE-2024-56362 is a HIGH (CVSS 7.1) navidrome stores jwt secret vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting Github.com/navidrome/navidrome libraries in the Go ecosystem. The issue involves navidrome stores jwt secret in plaintext in navidrome.db. Remediation is available by upgrading affected packages to version 0.54.1.
CVE-2024-56362 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2024-56362
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.
Upgrade github.com/navidrome/navidrome to 0.54.1
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-56362, 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 0.54.1), 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-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. 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
CVE-2024-56362 Affected Github.com/navidrome/navidrome Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/navidrome/navidrome
|
Go |
< 0.54.1
|
0.54.1
|
References
Frequently Asked Questions
What is CVE-2024-56362?
Which Github.com/navidrome/navidrome versions are affected?
What version fixes CVE-2024-56362?
Is github.com/navidrome/navidrome affected?
What is the CVSS score of CVE-2024-56362?
What CWE is associated with CVE-2024-56362?
How can I check Go dependencies for CVE-2024-56362?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xwx7-p63r-2rj8",
"modified" : "2025-01-15T20:47:44Z",
"published" : "2024-12-23T20:17:44Z",
"aliases" : [ "CVE-2024-56362" ],
"summary" : "Navidrome Stores JWT Secret in Plaintext in navidrome.db",
"details" : "Navidrome stores the JWT secret in plaintext in the `navidrome.db` database file under the `property` table. This practice introduces a security risk because anyone with access to the database file can retrieve the secret.\nThe JWT secret is critical for the authentication and authorization system. If exposed, an attacker could:\n- Forge valid tokens to impersonate users, including administrative accounts.\n- Gain unauthorized access to sensitive data or perform privileged actions.\nThis vulnerability has been tested on the latest version of Navidrome and poses a significant risk in environments where the database file is not adequately secured.\n\n\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/navidrome/navidrome"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.54.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.53.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/navidrome/navidrome/security/advisories/GHSA-xwx7-p63r-2rj8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-56362"
}, {
"type" : "WEB",
"url" : "https://github.com/navidrome/navidrome/commit/7f030b0859653593fd2ac0df69f4a313f9caf9ff"
}, {
"type" : "WEB",
"url" : "https://github.com/navidrome/navidrome/commit/9cbdb20a318a49daf95888b1fd207d4d729b55f1"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/navidrome/navidrome"
}, {
"type" : "WEB",
"url" : "https://github.com/navidrome/navidrome/releases/tag/v0.54.1"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-3357"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-312" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-23T20:17:44Z",
"nvd_published_at" : "2024-12-23T18:15:07Z"
}
}