Name | CVE-2015-1352 |
Description | The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate token extraction for table names, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted name. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3195-1 |
Debian Bugs | 777036 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
php5 (PTS) | jessie, jessie (lts) | 5.6.40+dfsg-0+deb8u21 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
php5 | source | squeeze | (not affected) | | | |
php5 | source | wheezy | 5.4.38-0+deb7u1 | | DSA-3195-1 | |
php5 | source | (unstable) | 5.6.6+dfsg-2 | | | 777036 |
Notes
[squeeze] - php5 <not-affected> (vulnerable code (build_tablename()) introduced later)
https://bugs.php.net/bug.php?id=68741
https://git.php.net/?p=php-src.git;a=commit;h=124fb22a13fafa3648e4e15b4f207c7096d8155e