Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 674709 - (CVE-2011-0755) CVE-2011-0755 php: mt_rand() does not check that max is greater than min
CVE-2011-0755 php: mt_rand() does not check that max is greater than min
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Red Hat Product Security
public=20081117,reported=20110202,sou...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-02 20:24 EST by Vincent Danen
Modified: 2015-08-19 05:03 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-03-01 08:37:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2011-02-02 20:24:57 EST
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-0755 to
the following vulnerability:

Name: CVE-2011-0755
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-0755
Assigned: 20110202
Reference: CONFIRM: http://bugs.php.net/46587
Reference: CONFIRM: http://www.php.net/ChangeLog-5.php

Integer overflow in the mt_rand function in PHP before 5.3.4 might
make it easier for context-dependent attackers to predict the return
values by leveraging a script's use of a large max parameter, as
demonstrated by a value that exceeds mt_getrandmax.
Comment 1 Vincent Danen 2011-02-02 20:26:34 EST
Statement:

Red Hat does not consider this flaw to be a security issue as arguments passed to the mt_rand function are under the full control of the script author. No trust boundary is crossed.

This flaw exists in the php53 packages versions as shipped in Red Hat Enterprise Linux 5 and the php packages versions as shipped in Red Hat Enterprise Linux 6.
Comment 2 Tomas Hoger 2011-03-01 08:37:40 EST
Closing as not-a-security-bug.  As noted in the upstream bug, affected function returned random numbers from the specified range, but without enforcing which argument is minimal an which is maximal value.

Note You need to log in before you can comment on or make changes to this bug.