Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpservermon/phpservermon
  4. ›
  5. CVE-2021-4240

CVE-2021-4240: Insufficient Entropy

November 15, 2022 (updated November 7, 2023)

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.

References

  • github.com/phpservermon/phpservermon/commit/3daa804d5f56c55b3ae13bfac368bb84ec632193
  • huntr.dev/bounties/2-phpservermon/phpservermon/
  • nvd.nist.gov/vuln/detail/CVE-2021-4240
  • vuldb.com/?id.213717

Code Behaviors & Features

Detect and mitigate CVE-2021-4240 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values

Source file

packagist/phpservermon/phpservermon/CVE-2021-4240.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.