VDB
Sign up
LOW

GHSA-2frx-j9hj-6c65

User enumeration in authentication mechanisms

Quick fix

GHSA-2frx-j9hj-6c65 — lexik/jwt-authentication-bundle: upgrade to the fixed version with the command below.

composer require lexik/jwt-authentication-bundle:^2.10.7

Details

Description -----------

The ability to enumerate users was possible without relevant permissions due to different exception messages depending on whether the user existed or not.

Resolution ----------

We now ensure that a generic message is returned whether the user exists or not if the password is invalid or if the user does not exist.

The patch for this issue is available [here](https://github.com/lexik/LexikJWTAuthenticationBundle/commit/a175d6dab968d93e96a3e4f80c495435f71d5eb7) for branch 2.10.x and 2.x.

Credits -------

I would like to thank James Isaac and Mathias Brodala for reporting the issue and Robin Chalas for fixing the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/lexik/jwt-authentication-bundle
Introduced in: 0Fixed in: 2.10.7
Fixcomposer require lexik/jwt-authentication-bundle:^2.10.7
Packagist/lexik/jwt-authentication-bundle
Introduced in: 2.11.0Fixed in: 2.11.3
Fixcomposer require lexik/jwt-authentication-bundle:^2.11.3

References