{"answers":{"affected":"3 open source packages ship an affected version, including github.com/navidrome/navidrome. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23857 in the wild and no public exploit code.","fix":"Upgrade github.com/navidrome/navidrome to 0.47.5 or later.","what":"CVE-2022-23857 is a medium-severity SQL injection vulnerability in n/a, published on 24 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-23857 and fix it if it is affected.\n\nWhat it is: CVE-2022-23857 is a medium-severity SQL injection vulnerability in n/a, published on 24 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-23857 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/navidrome/navidrome (Go): affected all versions; fixed in 0.47.5\n- github.com/navidrome/navidrome (Go): affected all versions; fixed in 0.47.5\n- github.com/navidrome/navidrome (Go): affected all versions; fixed in 0.47.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23857/ (Markdown: https://insights.sbomify.com/CVE-2022-23857/index.md)","id":"CVE-2022-23857","markdown":"https://insights.sbomify.com/CVE-2022-23857/index.md","name":"CVE-2022-23857","record":{"aliases":["GHSA-pmcr-2rhp-36hr","GO-2022-0302"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Music server","requires_auth":"low_privilege","summary":"An authenticated user can exploit SQL injection in Smart Playlists to extract sensitive database information, including encrypted passwords.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"navidrome","vendor":"navidrome"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"model/criteria/criteria.go in Navidrome before 0.47.5 is vulnerable to SQL injection attacks when processing crafted Smart Playlists. An authenticated user could abuse this to extract arbitrary data from the database, including the user table (which contains sensitive information such as the users' encrypted passwords).","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SQL injection in github.com/navidrome/navidrome","id":"CVE-2022-23857","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2022"},"n_packages":3,"n_references":2,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2022-23858"},"packages":[{"ecosystem":"Go","fixed":["0.47.5"],"introduced":["0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":null,"source":"GHSA-pmcr-2rhp-36hr"},{"ecosystem":"Go","fixed":["0.47.5"],"introduced":["0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"GHSA-pmcr-2rhp-36hr"},{"ecosystem":"Go","fixed":["0.47.5"],"introduced":["0"],"last_affected":[],"package":"github.com/navidrome/navidrome","purl":"pkg:golang/github.com/navidrome/navidrome","source":"GO-2022-0302"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2022-23856"},"products":["n/a"],"published":"2022-01-24","related":[{"cvss_score":9.4,"headline":"Multiple SQL Injections and ORM Leak in navidrome","id":"CVE-2024-47062","kev_date_added":null,"published":"2024-09-20"},{"cvss_score":9.2,"headline":"Navidrome affected by Denial of Service and disk exhaustion via oversized `size` parameter in `/rest/getCoverArt` and `/share/img/\u003ctoken\u003e` endpoints","id":"CVE-2026-25579","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":9.1,"headline":"Navidrome uses MD5 hashing algorithm","id":"CVE-2024-41259","kev_date_added":null,"published":"2024-08-01"},{"cvss_score":8.9,"headline":"Navidrome allows SQL Injection via role parameter","id":"CVE-2025-48949","kev_date_added":null,"published":"2025-05-30"},{"cvss_score":8.6,"headline":"Authentication bypass vulnerability in navidrome's subsonic endpoint","id":"CVE-2023-51442","kev_date_added":null,"published":"2023-12-21"},{"cvss_score":7.4,"headline":"Navidrome Transcoding Permission Bypass Vulnerability Report","id":"CVE-2025-48948","kev_date_added":null,"published":"2025-05-30"},{"cvss_score":7.1,"headline":"Navidrome Stores JWT Secret in Plaintext in navidrome.db","id":"CVE-2024-56362","kev_date_added":null,"published":"2024-12-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An authenticated user can exploit SQL injection in Smart Playlists to extract sensitive database information, including encrypted passwords.","url":"https://insights.sbomify.com/CVE-2022-23857/"}