Vulnerability record · OpenEuler 20.03-LTS-SP1
An update for php is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
OpenEuler 20.03-LTS-SP1
What it fixes
Synopsis:
php security updateSummary:
An update for php is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.Description:
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.
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)Topic:
An update for php is now available for openEuler-20.03-LTS-SP1 and openEuler-20.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
php
Manual fix · OpenEuler 20.03-LTS-SP1
sudo dnf upgrade php php-bcmath php-cli php-common php-dba php-dbg …rpm -q php php-bcmath php-cli php-common php-dba php-dbg …Sources