ZendFramework1 Potential Insufficient Entropy Vulnerability
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
We discovered several methods used to generate random numbers in ZF1 that potentially used insufficient entropy. These random number generators are used in the following method calls: ``` Zend_Ldap_Attribute::createPassword Zend_Form_Element_Hash::_generateHash Zend_Gdata_HttpClient::filterHttpRequest Zend_Filter_Encrypt_Mcrypt::_srand Zend_OpenId::randomBytes ``` In each case, the methods were using rand() or mt_rand(), neither of which can generate cryptographically secure values. This could potentially lead to information disclosure should an attacker be able to brute force the random number generation. Moreover, we discovered a potential security issue in the usage of the [openssl_random_pseudo_bytes()](http://php.net/manual/en/function.openssl-random-pseudo-bytes.php) function in Zend_Crypt_Math::randBytes, reported in PHP BUG [#70014](https://bugs.php.net/bug.php?id=70014), and the security implications reported in a discussion [on the random_compat library.](https://github.com/paragonie/random_compat/issues/96)
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | zendframework/zendframework1 (Packagist) | 1.12.0 to before 1.12.18 | 1.12.18 | Patch available | GHSA-8xhv-gqm4-3w99 |
- zendframework/zendframework1 (Packagist) Vendor— Affected 1.12.0 to before 1.12.18 Fixed in 1.12.18 Patch available GHSA-8xhv-gqm4-3w99
Remediation
- Fix · GHSA-8xhv-gqm4-3w99 zendframework/zendframework1 (Packagist) Fixed in 1.12.18 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-8xhv-gqm4-3w99
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences