Improper Authentication in jwt-go - CVE-2020-26160

 

Improper Authentication in jwt-go - CVE-2020-26160

Published: February 18, 2021


Vulnerability identifier: #VU50809
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-26160
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
jwt-go
Software vendor:
Dave Grijalva

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to improper validation when processing data passed via m["aud"]. A remote attacker can pass the []string{} string, which is allowed by the specification, however treated as an empty string and bypass authentication checks.


Remediation

Install updates from vendor's website.

External links