Advisory record · GHSA-pjx8-984p-7p3x

FOSUserBundle Entropy is lost in the TokenGenerator

No CVSS score

Published by the GitHub Advisory Database at 15 May 2024, 21:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
friendsofsymfony/user-bundlePackagist>=1.0.0, <1.3.51.3.5
Identifiers
GHSA-pjx8-984p-7p3x · PKSA-82cw-tyk8-jjch
Weakness (CWE)
CWE-331
Published
15 May 2024
Updated
29 Nov 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

FOSUserBundle (friendsofsymfony/user-bundle) versions 1.0.0 up to 1.3.5 are affected. Because of a precision loss in token generation, tokens used for email confirmation and password resetting have much less randomness than intended, so they are not cryptographically safe. Upgrade to version 1.3.5, which uses a corrected token generation method; after upgrading, any route placeholder that must match these tokens needs to allow dashes, for example by changing a \w+ requirement to [\w\-]+.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:29 UTC First seen by agentprime
  2. 31 Oct 2026, 14:29 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.