Insecure Defaults Affecting github.com/dgrijalva/jwt-go package, versions <3.0.0


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Insecure Defaults vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-50049
  • published1 Oct 2017
  • disclosed31 Mar 2015
  • creditTim McLean

Introduced: 31 Mar 2015

CVE NOT AVAILABLE CWE-453  (opens in a new tab)

Overview

Affected version of github.com/dgrijalva/jwt-go could lead to authentication bypass vulnerability when used incorrectly. To address the issue, as of version 3.0.0, key types are not compatible across signing methods.

Release notes: Dropped support for []byte keys when using RSA signing methods. This convenience feature could contribute to security vulnerabilities involving mismatched key types with signing methods.

CVSS Scores

version 3.1