# CVE-2021-4241: PHPServerMon PRNG has Insufficient Entropy

Source: https://junglewise.ai/threats/cve-2021-4241-phpservermon-prng-has-insufficient-entropy  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-11-16  
License: CC BY 4.0 with a link back

CVE-2021-4241 · Severity: low · CVSS 3.1 · Published 2022-11-16

PHPServerMon PRNG has Insufficient Entropy

Technologies: [phpservermon/phpservermon (Packagist)](https://junglewise.ai/threats/technologies/phpservermon-phpservermon). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-4241 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-4241 being exploited in the wild.

**How severe is CVE-2021-4241?** Low severity, with a CVSS score of 3.1, published 16 November 2022.

**Which products and versions are affected?** phpservermon/phpservermon (Packagist) ECOSYSTEM:introduced=0,fixed=3.6.0.

**Is there a fix for CVE-2021-4241?** Yes. phpservermon/phpservermon (Packagist): upgrade to 3.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-4241?** Check whether you run phpservermon/phpservermon (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phpservermon/phpservermon (Packagist): upgrade to 3.6.0 or later

  ```sh
  composer require phpservermon/phpservermon:^3.6.0
  ```


## Affected products

- phpservermon/phpservermon (Packagist) ECOSYSTEM:introduced=0,fixed=3.6.0

## Identifiers

- CVE-2021-4241
- GHSA-hc4j-7mqg-cxjj

## Related threats

- [PHP Server Monitor vulnerable to Cross-site Scripting](https://junglewise.ai/threats/cve-2024-5312-php-server-monitor-vulnerable-to-cross-site-scripting)
- [Insufficient Entropy in PHPServerMon PRNG](https://junglewise.ai/threats/cve-2021-4240-insufficient-entropy-in-phpservermon-prng)
- [CSRF in PHP Server Monitor before 3.3.2](https://junglewise.ai/threats/cve-2018-18921-csrf-in-php-server-monitor-before-3-3-2)
- [phpservermon is vulnerable to CRLF Injection](https://junglewise.ai/threats/cve-2021-4097-phpservermon-is-vulnerable-to-crlf-injection)
