HighGHSA-mf3v-f2qq-pf9g
Insufficient Session Expiration in Sylius
Affected versions
1.10.0 to before 1.10.11, 1.11.0 to before 1.11.2 - fixed in 1.10.11Details
### Impact The reset password token was not set to null after the password was changed. This is causing behaviour in which the same token can be used several times, so it can result in a leak of the existing token and an unauthorised password change. ### Patches The issue is fixed in versions: 1.10.11, 1.11.2 and above ### Workarounds You have to overwrite your `Sylius\Bundle\ApiBundle\CommandHandler\ResetPasswordHandler` class using this code: ```php <?php declare(strict_types=1); namespace App\CommandHandler\Account; use Sylius\Bundle\ApiBundle\Command\Account\ResetPassword; use Sylius\
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24743
- https://github.com/Sylius/Sylius/security/advisories/GHSA-mf3v-f2qq-pf9g
- https://nvd.nist.gov/vuln/detail/CVE-2022-24743
- https://github.com/Sylius/Sylius
- https://github.com/Sylius/Sylius/releases/tag/v1.10.11
- https://github.com/Sylius/Sylius/releases/tag/v1.11.2
Is your site exposed?Run a free passive scan. See your platform, versions and the issues on your surface in under a minute.
Check if my site is affected