CVE-2021-4240
MEDIUM 5.3CVSS 3.1Insufficient Entropy in PHPServerMon PRNG
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.
- Published
- 15 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-1241CWE-330CWE-331
- Also known as
- GHSA-97w9-gcc7-vr8g
- Sources
- NVDJSONOSV GHSA-97w9-gcc7-vr8gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | phpservermonitor | php_server_monitorcpe:2.3:a:phpservermonitor:php_server_monitor:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | Packagist | phpservermon/phpservermon | < 3.6.0 | 3.6.0 |
References
- https://github.com/phpservermon/phpservermon/commit/3daa804d5f56c55b3ae13bfac368bb84ec632193 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/2-phpservermon/phpservermon/ · Exploit, Patch, Third Party Advisory, WEB
- https://vuldb.com/?id.213717 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-4240 · ADVISORY
- https://github.com/phpservermon/phpservermon · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Nov 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Nov 2022)