Read the docs
TI-2024-38655 Aliases GHSA-pjx8-984p-7p3x

FOSUserBundle Entropy is lost in the TokenGenerator

Priority LOW 38CWE-331Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Description Because of the usage of base_convert which looses precision for large inputs, the entropy of tokens generated by FOSUserBundle for the email confirmation and password resetting is lost. This makes these tokens much less random than they are expected to be, and so not cryptographically safe. ### Resolution The token generation logic used in the 2.0.x branch based on base64 encoding has been backported. This changes the range of characters used in the token. Any route placeholder expected to match a token generated by FOSUserBundle must be updated to allow dashes, which are not allowed by \w in regexes. A \w+ requirement should so become [\w\-]+.

Why it matters now

Fix Fixed friendsofsymfony/user-bundle (Packagist): 1.3.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—friendsofsymfony/user-bundle (Packagist)1.0.0 to before 1.3.51.3.5Patch availableGHSA-pjx8-984p-7p3x
  • friendsofsymfony/user-bundle (Packagist) Vendor— Affected 1.0.0 to before 1.3.5 Fixed in 1.3.5 Patch available GHSA-pjx8-984p-7p3x

Remediation

  • Fix · GHSA-pjx8-984p-7p3x friendsofsymfony/user-bundle (Packagist) Fixed in 1.3.5 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-pjx8-984p-7p3x

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences