sec(subsonic): authentication bypass in Subsonic API with non-existent username
Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -343,7 +343,6 @@ func validateIPAgainstList(ip string, comaSeparatedList string) bool {
|
||||
}
|
||||
|
||||
testedIP, _, err := net.ParseCIDR(fmt.Sprintf("%s/32", ip))
|
||||
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user