Insufficient Entropy Affecting php-dba package, versions <0:5.1.6-20.el5_2.1


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.34% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Entropy vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE5-PHPDBA-2448326
  • published10 Apr 2022
  • disclosed7 May 2008

Introduced: 7 May 2008

CVE-2008-2108  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade Oracle:5 php-dba to version 0:5.1.6-20.el5_2.1 or higher.
This issue was patched in ELSA-2008-0544.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-dba package and not the php-dba package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.

References

CVSS Scores

version 3.1