MEDIUM
GHSA-v5rv-hpxg-8x49
Signature validation bypass in ServiceStack
Quick fix
GHSA-v5rv-hpxg-8x49 — ServiceStack: upgrade to the fixed version with the command below.
dotnet add package ServiceStack --version 5.9.2Details
ServiceStack before 5.9.2 mishandles JWT signature verification unless an application has a custom ValidateToken function that establishes a valid minimum length for a signature.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28042[ADVISORY]
- https://github.com/ServiceStack/ServiceStack/commit/540d4060e877a03ae95343c1a8560a26768585ee[WEB]
- https://forums.servicestack.net/t/servicestack-v5-9-2-released/8850[WEB]
- https://snyk.io/vuln/SNYK-DOTNET-SERVICESTACK-1035519[WEB]
- https://www.nuget.org/packages/ServiceStack[WEB]
- https://www.shielder.it/advisories/servicestack-jwt-signature-verification-bypass[WEB]
- https://www.shielder.it/blog/2020/11/re-discovering-a-jwt-authentication-bypass-in-servicestack[WEB]