Bug 1960630 (CVE-2021-21424)

Summary: CVE-2021-21424 php-symfony: user enumeration in authentication mechanisms
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, james.hogarth, shawn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-14 14:33:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1960631, 1960632    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-05-14 12:47:33 UTC
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.

Reference:
https://github.com/symfony/symfony/security/advisories/GHSA-5pv8-ppvj-4h68

Upstream patch:
https://github.com/symfony/symfony/commit/2a581d22cc621b33d5464ed65c4bc2057f72f011

Comment 1 Guilherme de Almeida Suckevicz 2021-05-14 12:48:00 UTC
Created php-symfony tracking bugs for this issue:

Affects: epel-7 [bug 1960632]
Affects: fedora-all [bug 1960631]

Comment 2 Product Security DevOps Team 2021-05-14 14:33:56 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.