USN-3702-2: PHP vulnerability
5 July 2018
PHP could be made to crash or run programs if it opened a specially crafted file.
Releases
Packages
- php7.2 - HTML-embedded scripting language interpreter
Details
USN-3702-1 fixed a vulnerability in PHP. PHP 7.2.7 did not actually include
the fix for CVE-2018-12882. This update adds a backported patch to correct
the issue.
We apologize for the inconvenience.
Original advisory details:
It was discovered that PHP incorrectly handled exif tags in certain images.
A remote attacker could use this issue to cause PHP to crash, resulting in
a denial of service, or possibly execute arbitrary code.
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 18.04
-
libapache2-mod-php7.2
-
7.2.7-0ubuntu0.18.04.2
-
php7.2-cgi
-
7.2.7-0ubuntu0.18.04.2
-
php7.2-cli
-
7.2.7-0ubuntu0.18.04.2
-
php7.2-fpm
-
7.2.7-0ubuntu0.18.04.2
In general, a standard system update will make all the necessary changes.