GitHub Advisoryadvisory · Packagist

GHSA-hc4j-7mqg-cxjj PHPServerMon PRNG has Insufficient Entropy

MEDIUM Published 2022-11-16 Modified 2023-07-07 Official page ↗
Aliases
CVE-2021-4241
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. Affected is the function `setUserLoggedIn` 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 bb10a5f3c68527c58073258cb12446782d223bc3. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-213744.

Related

Alias · CVE (1)

  • CVE-2021-4241 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