DescriptionAn issue was discovered in Symfony 4.2.0 to 4.2.11 and 4.3.0 to 4.3.7. The ability to enumerate users was possible due to different handling depending on whether the user existed when making unauthorized attempts to use the switch users functionality. This is related to symfony/security.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
symfony (PTS)stretch (security), stretch2.8.7+dfsg-1.3+deb9u3fixed
buster, buster (security)3.4.22+dfsg-2+deb10u1fixed
bullseye, sid4.4.19+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
symfonysourcestretch(not affected)
symfonysourcebuster(not affected)


[buster] - symfony <not-affected> (Vulnerability introduced in 4.1.0)
[stretch] - symfony <not-affected> (Vulnerability introduced in 4.1.0)
Introduced by: (v4.1.0-BETA1)
Previous versions asserts "the current user is granted to switch" BEFORE
"loading the user" and thus are not affected.
Fixed by: (v4.2.12)

Search for package or bug name: Reporting problems