{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2007-04-04T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2007-08-09T09:00:00",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "name": "23984",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_BID"
                    ],
                    "url": "http://www.securityfocus.com/bid/23984"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://www.fortheloot.com/public/mcrypt.patch"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.91.2.3.2.10"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/ChangeLog-5.php"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://bugs.php.net/bug.php?id=40999"
                },
                {
                    "name": "MDKSA-2007:187",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_MANDRIVA"
                    ],
                    "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"
                },
                {
                    "name": "26895",
                    "tags": [
                        "third-party-advisory",
                        "x_refsource_SECUNIA"
                    ],
                    "url": "http://secunia.com/advisories/26895"
                },
                {
                    "name": "SUSE-SR:2007:015",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://www.novell.com/linux/security/advisories/2007_15_sr.html"
                },
                {
                    "name": "36087",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_OSVDB"
                    ],
                    "url": "http://osvdb.org/36087"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2007-2727",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "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."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "23984",
                            "refsource": "BID",
                            "url": "http://www.securityfocus.com/bid/23984"
                        },
                        {
                            "name": "http://www.fortheloot.com/public/mcrypt.patch",
                            "refsource": "MISC",
                            "url": "http://www.fortheloot.com/public/mcrypt.patch"
                        },
                        {
                            "name": "http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.91.2.3.2.10",
                            "refsource": "CONFIRM",
                            "url": "http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.91.2.3.2.10"
                        },
                        {
                            "name": "http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html",
                            "refsource": "MISC",
                            "url": "http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html"
                        },
                        {
                            "name": "http://www.php.net/ChangeLog-5.php",
                            "refsource": "CONFIRM",
                            "url": "http://www.php.net/ChangeLog-5.php"
                        },
                        {
                            "name": "http://bugs.php.net/bug.php?id=40999",
                            "refsource": "CONFIRM",
                            "url": "http://bugs.php.net/bug.php?id=40999"
                        },
                        {
                            "name": "MDKSA-2007:187",
                            "refsource": "MANDRIVA",
                            "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"
                        },
                        {
                            "name": "26895",
                            "refsource": "SECUNIA",
                            "url": "http://secunia.com/advisories/26895"
                        },
                        {
                            "name": "SUSE-SR:2007:015",
                            "refsource": "SUSE",
                            "url": "http://www.novell.com/linux/security/advisories/2007_15_sr.html"
                        },
                        {
                            "name": "36087",
                            "refsource": "OSVDB",
                            "url": "http://osvdb.org/36087"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-07T13:49:57.260Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "23984",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_BID",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/23984"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://www.fortheloot.com/public/mcrypt.patch"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/mcrypt.c?r1=1.91.2.3.2.9&r2=1.91.2.3.2.10"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://blog.php-security.org/archives/80-Watching-the-PHP-CVS.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/ChangeLog-5.php"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://bugs.php.net/bug.php?id=40999"
                    },
                    {
                        "name": "MDKSA-2007:187",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_MANDRIVA",
                            "x_transferred"
                        ],
                        "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:187"
                    },
                    {
                        "name": "26895",
                        "tags": [
                            "third-party-advisory",
                            "x_refsource_SECUNIA",
                            "x_transferred"
                        ],
                        "url": "http://secunia.com/advisories/26895"
                    },
                    {
                        "name": "SUSE-SR:2007:015",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://www.novell.com/linux/security/advisories/2007_15_sr.html"
                    },
                    {
                        "name": "36087",
                        "tags": [
                            "vdb-entry",
                            "x_refsource_OSVDB",
                            "x_transferred"
                        ],
                        "url": "http://osvdb.org/36087"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2007-2727",
        "datePublished": "2007-05-16T22:00:00",
        "dateReserved": "2007-05-16T00:00:00",
        "dateUpdated": "2024-08-07T13:49:57.260Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}