CVE-2008-2108

NameCVE-2008-2108
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-1789-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php5 (PTS)jessie, jessie (lts)5.6.40+dfsg-0+deb8u21fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourceetch5.2.0+dfsg-8+etch15DSA-1789-1
php5sourcelenny5.2.6.dfsg.1-1+lenny3DSA-1789-1
php5source(unstable)5.2.2-1low

Notes

http://web.archive.org/web/20120118120046/http://www.sektioneins.de/advisories/SE-2008-02.txt

Search for package or bug name: Reporting problems