clindseywsdemo / golang-gin-realworld-example-app

MIT License
2 stars 0 forks source link

github.com/dgrijalva/jwt-go-v3.2.0+incompatible: 1 vulnerabilities (highest severity is: 7.5) - autoclosed #18

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - github.com/dgrijalva/jwt-go-v3.2.0+incompatible

Golang implementation of JSON Web Tokens (JWT)

Library home page: https://proxy.golang.org/github.com/dgrijalva/jwt-go/@v/v3.2.0+incompatible.zip

Found in HEAD commit: 65bcd58cd4b5f086be7b413b47676b24145763de

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2020-26160 High 7.5 github.com/dgrijalva/jwt-go-v3.2.0+incompatible Direct v4.0.0-preview1

Details

CVE-2020-26160 ### Vulnerable Library - github.com/dgrijalva/jwt-go-v3.2.0+incompatible

Golang implementation of JSON Web Tokens (JWT)

Library home page: https://proxy.golang.org/github.com/dgrijalva/jwt-go/@v/v3.2.0+incompatible.zip

Dependency Hierarchy: - :x: **github.com/dgrijalva/jwt-go-v3.2.0+incompatible** (Vulnerable Library)

Found in HEAD commit: 65bcd58cd4b5f086be7b413b47676b24145763de

Found in base branch: main

### Vulnerability Details

jwt-go before 4.0.0-preview1 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.

Publish Date: 2020-09-30

URL: CVE-2020-26160

### CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/CVE-2020-26160

Release Date: 2020-09-30

Fix Resolution: v4.0.0-preview1

mend-for-github-com[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.