CVE-2017-11365: Empty passwords validation issue

Affected versions
Symfony 2.7.30, 2.7.31, 2.8.23, 2.8.24, 3.2.10, 3.2.11, 3.3.3, and 3.3.4 versions of the Symfony Security component are affected by this security issue.
The issue has been fixed in Symfony 2.7.32, 2.8.25, 3.2.12, and 3.3.5.
Description
When fixing issue 23319 with 23341, we inadvertently introduced a security issue.
After the "fix", validating a user password with a UserPassword
constraint
but with no NotBlank
constraint would pass without any error as previously
(the empty password would not be compared with the user password). You should
always be explicit and add a NotBlank
constraint, but as it worked before
without, we considered it as a BC break and a security issue.
Resolution
The fix re-adds the error message when submitting an empty password.
The patch for this issue is available here.
Have found a security issue in Symfony? Send the details to security [at] symfony.com and don't disclose it publicly until we can provide a fix for it.
Help the Symfony project!
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
Comments


Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.