What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: symfony 3.4.48, 4.4.23, 5.2.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-21424 or the next vulnerability affects your stack