PT-2024-40401

Published

2024-05-15

·

Updated

2024-05-15

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

Name of the Vulnerable Software and Affected Versions FOSUserBundle versions 2.0.x and earlier
Description The usage of base convert in FOSUserBundle results in a loss of precision for large inputs, reducing the entropy of tokens generated for email confirmation and password resetting. This makes the tokens less random and not cryptographically safe.
Recommendations For FOSUserBundle versions 2.0.x and earlier, update the token generation logic to use base64 encoding, which has been backported from the 2.0.x branch. Additionally, update any route placeholder expected to match a token generated by FOSUserBundle to allow dashes by changing the w+ requirement to [w-]+ in regexes.
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-PJX8-984P-7P3X
Found an issue in the description? Have something to add? Feel free to write us 👾