CVE-2021-21424

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductSensiolabs Symfony
PublishedMay 13, 2021
First seenMay 13, 2021

How to fix

Update
  • sensiolabs symfony3.4.48, 4.4.23, 5.2.8 or later
  • symfony/security5.2.8, 3.4.49, 4.4.24 or later
  • symfony/security-guard3.4.48, 4.4.23, 5.2.8 or later
  • symfony/security-core3.4.48, 4.4.23, 5.2.8 or later
  • lexik/jwt-authentication-bundle2.10.7, 2.11.3 or later
  • symfony/maker-bundle1.29.2, 1.31.1 or later
  • symfony/security-http5.2.8 or later
  • symfony/symfony3.4.49, 4.4.24, 5.2.9 or later

Affected products

ProductAffected versionsFixed in
sensiolabs symfony2.8.0 ≤ v < 3.4.48, 4.0.0 ≤ v < 4.4.23, 5.0.0 ≤ v < 5.2.83.4.48, 4.4.23, 5.2.8
fedoraproject fedora33, 34—
symfony/securityPackagist5.0.0 ≤ v < 5.2.8, 2.8.0 ≤ v < 3.4.49, 4.0.0 ≤ v < 4.4.245.2.8, 3.4.49, 4.4.24
symfony/security-guardPackagist2.8.0 ≤ v < 3.4.48, 4.0.0 ≤ v < 4.4.23, 5.0.0 ≤ v < 5.2.83.4.48, 4.4.23, 5.2.8
symfony/security-corePackagist2.8.0 ≤ v < 3.4.48, 4.0.0 ≤ v < 4.4.23, 5.0.0 ≤ v < 5.2.83.4.48, 4.4.23, 5.2.8
lexik/jwt-authentication-bundlePackagist2.0.0 ≤ v < 2.10.7, 2.11.0 ≤ v < 2.11.32.10.7, 2.11.3
symfony/maker-bundlePackagist1.27.0 ≤ v < 1.29.2, 1.30.0 ≤ v < 1.31.11.29.2, 1.31.1
symfony/security-httpPackagist5.1.0 ≤ v < 5.2.85.2.8
symfony/symfonyPackagist2.8.0 ≤ v < 3.4.49, 4.0.0 ≤ v < 4.4.24, 5.0.0 ≤ v < 5.2.93.4.49, 4.4.24, 5.2.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.