Vulnerability · Published Nov 15, 2022 · Assigned by VulDB
CVE-2021-4240phpservermon User.php generatePasswordResetToken predictable algorithm in random number generator
Low 2.6
In plain English
A low-severity security flaw in phpservermon from unspecified. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | phpservermon/phpservermon | 3.6.0 | GHSA-97w9-gcc7-vr8g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| unspecified | phpservermon | n/a |
Weakness: CWE-331 · Vector: CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N