SQL Injection Affecting github.com/navidrome/navidrome/model/criteria Open this link in a new tab package, versions <0.47.5
Attack Complexity
Low
Confidentiality
High
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-id
SNYK-GOLANG-GITHUBCOMNAVIDROMENAVIDROMEMODELCRITERIA-2359252
-
published
24 Jan 2022
-
disclosed
24 Jan 2022
-
credit
DePierre
Introduced: 24 Jan 2022
CVE-2022-23857 Open this link in a new tabHow to fix?
Upgrade github.com/navidrome/navidrome/model/criteria
to version 0.47.5 or higher.
Overview
github.com/navidrome/navidrome/model/criteria is a package that implements a Criteria API based on Masterminds/squirrel.
Affected versions of this package are vulnerable to SQL Injection due to missing sanitization in the c Criteria
function in model/criteria/criteria.go
, when processing crafted Smart Playlists
.
An authenticated user could abuse this to extract arbitrary data from the database, including the user
table.