Skip to content

CVE-2020-15240 Regression in JWT Signature Validation

CriticalCVSS 9.1 EPSS 0.80% PoC
Published
Updated
Exploit status
Proof-of-concept only

Description

omniauth-auth0 (rubygems) versions >= 2.3.0 and < 2.4.1 improperly validate the JWT token signature when using the jwt_validator.verify method. Improper validation of the JWT token signature can allow an attacker to bypass authentication and authorization. You are affected by this vulnerability if all of the following conditions apply: 1. You are using omniauth-auth0. 2. You are using JWTValidator.verify method directly OR you are not authenticating using the SDK’s default Authorization Code Flow. The issue is patched in version 2.4.1.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
auth0 omniauth-auth0 = >= 2.3.0, <2.4.1; >= 2.3.0, < 2.4.1 2.4.1 Fixed
rubygems omniauth-auth0(RubyGems) = 2.3.0; = 2.3.1; = 2.4.0; >= 2.3.0, < 2.4.1 2.4.1 Fixed

Affected products

ProductAffected versionsFixed in
rubygems omniauth-auth0(RubyGems) >= 2.3.0, < 2.4.1 2.4.1
rubygems omniauth-auth0(RubyGems) = 2.3.0 No fix listed
rubygems omniauth-auth0(RubyGems) = 2.3.1 No fix listed
rubygems omniauth-auth0(RubyGems) = 2.4.0 No fix listed
auth0 omniauth-auth0 >= 2.3.0, < 2.4.1 2.4.1
auth0 omniauth-auth0 = >= 2.3.0, <2.4.1 No fix listed

References