ADVISORIES

openEuler Security Advisory

OESA-2021-1455

php security update

Details

PHP is an HTML-embedded scripting language. PHP attempts to make it easy for developers to write dynamically generated web pages. PHP also offers built-in database integration for several commercial and non-commercial database management systems, so writing a database-enabled webpage with PHP is fairly simple. The most common use of PHP coding is probably as a replacement for CGI scripts. The php package contains the module (often referred to as mod_php) which adds support for the PHP language to Apache HTTP Server.

Security Fix(es):

In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function to interpret this as the end of the filename, thus interpreting the filename differently from what the user intended, which may lead it to reading a different file than intended.(CVE-2021-21707)

Affected packages

EcosystemPackageAffected versions
openEuler:20.03-LTS-SP1php
All versions before 7.2.10-17.oe1 (fixed in 7.2.10-17.oe1)
openEuler:20.03-LTS-SP2php
All versions before 8.0.0-6.oe1 (fixed in 8.0.0-6.oe1)

References