VDB
Sign up
MEDIUM

GHSA-pmcr-2rhp-36hr

SQL injection in github.com/navidrome/navidrome

Quick fix

GHSA-pmcr-2rhp-36hr — github.com/navidrome/navidrome: upgrade to the fixed version with the command below.

go get github.com/navidrome/navidrome@v0.47.5

Details

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).

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/navidrome/navidrome
Introduced in: 0Fixed in: 0.47.5
Fixgo get github.com/navidrome/navidrome@v0.47.5

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/navidrome/navidrome"]}'