GitHub Advisoryadvisory · Packagist

GHSA-97w9-gcc7-vr8g Insufficient Entropy in PHPServerMon PRNG

MEDIUM Published 2022-11-16 Modified 2023-07-19 Official page ↗
Aliases
CVE-2021-4240
Ecosystem
Packagist
Packages
phpservermon/phpservermon
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-1241, CWE-330, CWE-331
Reviewed
2023-07-07

Affected packages

• Packagist phpservermon/phpservermon: < 3.6.0 → fixed in 3.6.0

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

Alias · CVE (1)

  • CVE-2021-4240 A vulnerability, which was classified as problematic, was found in phpservermon. vulnerability

Weakness · CWE (3)

  • CWE-1241 Use of Predictable Algorithm in Random Number Generator weakness
  • CWE-330 Use of Insufficiently Random Values weakness
  • CWE-331 Insufficient Entropy weakness

References