VDB
Sign up
MEDIUM6.8

GHSA-7hh9-gp72-wh7h

Auth0 Laravel SDK has Improper Audience Validation via Auth0-PHP SDK dependency

Quick fix

GHSA-7hh9-gp72-wh7h — auth0/login: upgrade to the fixed version with the command below.

composer require auth0/login:^7.20.0

Details

### Description In applications built with the Auth0-PHP SDK, the audience validation in access tokens is performed improperly. Without proper validation, affected applications may accept ID tokens as Access tokens.

### Affected product and versions Users are affected if they meet the following preconditions:

- Applications using the Auth0 laravel-auth0 SDK with versions between 7.0.0 and 7.19.0, - Auth0 laravel-auth0 SDK uses the Auth0-PHP SDK with versions between 8.0.0 and 8.17.0.

### Resolution Upgrade Auth0/laravel-auth0 to version 7.20.0 or greater.

### Acknowledgement Okta would like to thank Jafar Sadiq (iaf4r) for their discovery and responsible disclosure.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/auth0/login
Introduced in: 7.0.0Fixed in: 7.20.0
Fixcomposer require auth0/login:^7.20.0

References