Debian Security Advisory

DLA-2708-1 php7.0 -- LTS security update

Date Reported:
15 Jul 2021
Affected Packages:
php7.0
Vulnerable:
Yes
Security database references:
In the Debian bugtracking system: Bug 942830, Bug 990575.
In Mitre's CVE dictionary: CVE-2019-18218, CVE-2020-7071, CVE-2021-21702, CVE-2021-21704, CVE-2021-21705.
More information:

Several vulnerabilities were discovered in php5, a server-side, HTML-embedded scripting language. An attacker could cause denial of service (DoS), memory corruption and potentially execution of arbitrary code, and server-side request forgery (SSRF) bypass.

  • CVE-2019-18218

    fileinfo: cdf_read_property_info in cdf.c does not restrict the number of CDF_VECTOR elements, which allows a heap-based buffer overflow (4-byte out-of-bounds write).

  • CVE-2020-7071

    When validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL.

  • CVE-2021-21702

    When using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus cause a crash.

  • CVE-2021-21704

    Multiple firebird issues.

  • CVE-2021-21705

    SSRF bypass in FILTER_VALIDATE_URL.

For Debian 9 stretch, these problems have been fixed in version 7.0.33-0+deb9u11.

We recommend that you upgrade your php7.0 packages.

For the detailed security status of php7.0 please refer to its security tracker page at: https://security-tracker.debian.org/tracker/php7.0

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS