CVE-2020-26160: Missing Authorization
(updated )
jwt-go allows attackers to bypass intended access restrictions in situations with []string{}
for m["aud"]
(which is allowed by the specification). Because the type assertion fails, "" is the value of aud
. This is a security problem if the JWT token is presented to a service that lacks its own audience check.
References
Detect and mitigate CVE-2020-26160 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →