Advisory

GHSA-2fhr-8r8r-qp56

Also known as: None

Summary

ZendFramework Information Disclosure and Insufficient Entropy vulnerability

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-06-07 20:37 UTC
Modified
2024-12-04 05:40 UTC

Affected packages and fixes

zendframework/zendframework

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.4.9 (ecosystem)

Fixed versions

2.4.9

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences