Security mailing lists by PureSourceCode

CVE-2021-21424

MEDIUM 5.3CVSS 3.1

Prevent user enumeration using Guard or the new Authenticator-based Security

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. The ability to enumerate users was possible without relevant permissions due to different handling depending on whether the user existed or not when attempting to use the switch users functionality. We now ensure that 403s are returned whether the user exists or not if a user cannot switch to a user or if the user does not exist. The patch for this issue is available for branch 3.4.

Published
13 May 2021
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-203
Also known as
BIT-symfony-2021-21424GHSA-5pv8-ppvj-4h68
Sources
NVDJSONOSV GHSA-5pv8-ppvj-4h68JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
>= 2.8.0, < 3.4.48 3.4.48
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.4.23 4.4.23
NVD sensiolabs symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.2.8 5.2.8
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
OSV Packagist symfony/security >= 5.0.0, < 5.2.8 5.2.8
OSV Packagist symfony/security-guard >= 2.8.0, < 3.4.48 3.4.48
OSV Packagist symfony/security-guard >= 4.0.0, < 4.4.23 4.4.23
OSV Packagist symfony/security-guard >= 5.0.0, < 5.2.8 5.2.8
OSV Packagist symfony/security-core >= 2.8.0, < 3.4.48 3.4.48
OSV Packagist symfony/security-core >= 4.0.0, < 4.4.23 4.4.23
OSV Packagist symfony/security-core >= 5.0.0, < 5.2.8 5.2.8
OSV Packagist lexik/jwt-authentication-bundle >= 2.0.0, < 2.10.7 2.10.7
OSV Packagist lexik/jwt-authentication-bundle >= 2.11.0, < 2.11.3 2.11.3
OSV Packagist symfony/maker-bundle >= 1.27.0, < 1.29.2 1.29.2
OSV Packagist symfony/maker-bundle >= 1.30.0, < 1.31.1 1.31.1
OSV Packagist symfony/security-http >= 5.1.0, < 5.2.8 5.2.8
OSV Packagist symfony/security >= 2.8.0, < 3.4.49 3.4.49
OSV Packagist symfony/security >= 4.0.0, < 4.4.24 4.4.24
OSV Packagist symfony/symfony >= 2.8.0, < 3.4.49 3.4.49
OSV Packagist symfony/symfony >= 4.0.0, < 4.4.24 4.4.24
OSV Packagist symfony/symfony >= 5.0.0, < 5.2.9 5.2.9

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 13 May 2021)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.