CVE-2021-4240
published low CVSS 3.1 · 2.6phpservermon User.php generatePasswordResetToken predictable algorithm in random number generator
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| unspecified | — | phpservermonn/a | Affected | Not stated | VulDB |
Description
A vulnerability, which was classified as problematic, was found in phpservermon. This affects the function generatePasswordResetToken of the file src/psm/Service/User.php. The manipulation leads to use of predictable algorithm in random number generator. The exploit has been disclosed to the public and may be used. The name of the patch is 3daa804d5f56c55b3ae13bfac368bb84ec632193. It is recommended to apply a patch to fix this issue. The identifier VDB-213717 was assigned to this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 2.6 / 10
- Severity
- low
- Provider
- VulDB · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| unspecified | phpservermon | n/a (affected) | VulDB · cna |
Weaknesses
1- CWE-331 CWE-331 Insufficient Entropy -> CWE-338 Cryptographically Weak PRNG -> CWE-1241 Use of Predictable Algorithm in Random Number Generator
References
3Provider assertions
3VulDB · cna
phpservermon User.php generatePasswordResetToken predictable algorithm in random number generator
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c96ed9088ea761670df1d7b6183ea6ddc8c42a58abc3f930413b7719d4a34dbc
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record