Skip to content
porro

Advisories  /  composer  /  lexik/jwt-authentication-bundle  /  CVE-2021-21424

MODERATE5.3 Composer

Prevent user enumeration using Guard or the new Authenticator-based Security (CVE-2021-21424)

CVE-2021-21424 GHSA-5pv8-ppvj-4h68 Published 13 May 2021

Affects 7 packages. Each has a fixed release.

$ composer require lexik/jwt-authentication-bundle:^2.10.7
$ composer require lexik/jwt-authentication-bundle:^2.11.3
$ composer require symfony/maker-bundle:^1.29.2
$ composer require symfony/maker-bundle:^1.31.1
$ composer require symfony/security:^3.4.49
$ composer require symfony/security:^4.4.24

Which versions are affected

Package Affected Fixed in
lexik/jwt-authentication-bundle ≥ 2.0.0, < 2.10.7≥ 2.11.0, < 2.11.3 2.10.72.11.3
symfony/maker-bundle ≥ 1.27.0, < 1.29.2≥ 1.30.0, < 1.31.1 1.29.21.31.1
symfony/security ≥ 2.8.0, < 3.4.49≥ 4.0.0, < 4.4.24≥ 5.0.0, < 5.2.8 3.4.494.4.245.2.8
symfony/security-core ≥ 2.8.0, < 3.4.48≥ 4.0.0, < 4.4.23≥ 5.0.0, < 5.2.8 3.4.484.4.235.2.8
symfony/security-guard ≥ 2.8.0, < 3.4.48≥ 4.0.0, < 4.4.23≥ 5.0.0, < 5.2.8 3.4.484.4.235.2.8
symfony/security-http ≥ 5.1.0, < 5.2.8 5.2.8
symfony/symfony ≥ 2.8.0, < 3.4.49≥ 4.0.0, < 4.4.24≥ 5.0.0, < 5.2.9 3.4.494.4.245.2.9

Check a site from its project folder: composer show lexik/jwt-authentication-bundle shows the installed version. Or paste the lock file into the lock file checker to check every package at once.

Timeline

  1. Advisory published, with a fix

Questions

Which version of lexik/jwt-authentication-bundle is safe from CVE-2021-21424?

2.11.3 and later. Versions affected: ≥ 2.0.0, < 2.10.7, ≥ 2.11.0, < 2.11.3.

Which version of symfony/maker-bundle is safe from CVE-2021-21424?

1.31.1 and later. Versions affected: ≥ 1.27.0, < 1.29.2, ≥ 1.30.0, < 1.31.1.

Which version of symfony/security is safe from CVE-2021-21424?

5.2.8 and later. Versions affected: ≥ 2.8.0, < 3.4.49, ≥ 4.0.0, < 4.4.24, ≥ 5.0.0, < 5.2.8.

Which version of symfony/security-core is safe from CVE-2021-21424?

5.2.8 and later. Versions affected: ≥ 2.8.0, < 3.4.48, ≥ 4.0.0, < 4.4.23, ≥ 5.0.0, < 5.2.8.

Which version of symfony/security-guard is safe from CVE-2021-21424?

5.2.8 and later. Versions affected: ≥ 2.8.0, < 3.4.48, ≥ 4.0.0, < 4.4.23, ≥ 5.0.0, < 5.2.8.

Which version of symfony/security-http is safe from CVE-2021-21424?

5.2.8 and later. Versions affected: ≥ 5.1.0, < 5.2.8.

Which version of symfony/symfony is safe from CVE-2021-21424?

5.2.9 and later. Versions affected: ≥ 2.8.0, < 3.4.49, ≥ 4.0.0, < 4.4.24, ≥ 5.0.0, < 5.2.9.