VDB
Sign up
HIGH7.5

GHSA-848f-mph5-9pm9

Zendframework Potential Information Disclosure and Insufficient Entropy vulnerability

Quick fix

GHSA-848f-mph5-9pm9 — zendframework/zendframework1: upgrade to the fixed version with the command below.

composer require zendframework/zendframework1:^1.12.17

Details

In Zend Framework, Zend_Captcha_Word (v1) and Zend\Captcha\Word (v2) generate a "word" for a CAPTCHA challenge by selecting a sequence of random letters from a character set. Prior to this advisory, the selection was performed using PHP's internal array_rand() function. This function does not generate sufficient entropy due to its usage of rand() instead of more cryptographically secure methods such as openssl_pseudo_random_bytes(). This could potentially lead to information disclosure should an attacker be able to brute force the random number generation.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/zendframework/zendframework1
Introduced in: 1.12.0Fixed in: 1.12.17
Fixcomposer require zendframework/zendframework1:^1.12.17

References