CVE-2007-2727 Affecting php package, versions [,4.4.7)[5.2.0,5.2.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.78% (82nd 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 IDSNYK-UNMANAGED-PHP-2335421
  • published12 Jan 2022
  • disclosed16 May 2007
  • creditUnknown

Introduced: 16 May 2007

CVE-2007-2727  (opens in a new tab)

How to fix?

Upgrade php to version 4.4.7, 5.2.1 or higher.

Overview

The mcrypt_create_iv function in ext/mcrypt/mcrypt.c in PHP before 4.4.7, 5.2.1, and possibly 5.0.x and other PHP 5 versions, calls php_rand_r with an uninitialized seed variable and therefore always generates the same initialization vector (IV), which might allow context-dependent attackers to decrypt certain data more easily because of the guessable encryption keys.

References

CVSS Scores

version 3.1