<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
	<DocumentTitle xml:lang="en">An update for php is now available for openEuler-20.03-LTS-SP1</DocumentTitle>
	<DocumentType>Security Advisory</DocumentType>
	<DocumentPublisher Type="Vendor">
		<ContactDetails>openeuler-security@openeuler.org</ContactDetails>
		<IssuingAuthority>openEuler security committee</IssuingAuthority>
	</DocumentPublisher>
	<DocumentTracking>
		<Identification>
			<ID>openEuler-SA-2021-1056</ID>
		</Identification>
		<Status>Final</Status>
		<Version>1.0</Version>
		<RevisionHistory>
			<Revision>
				<Number>1.0</Number>
				<Date>2021-03-05</Date>
				<Description>Initial</Description>
			</Revision>
		</RevisionHistory>
		<InitialReleaseDate>2021-03-05</InitialReleaseDate>
		<CurrentReleaseDate>2021-03-05</CurrentReleaseDate>
		<Generator>
			<Engine>openEuler SA Tool V1.0</Engine>
			<Date>2021-03-05</Date>
		</Generator>
	</DocumentTracking>
	<DocumentNotes>
		<Note Title="Synopsis" Type="General" Ordinal="1" xml:lang="en">php security update</Note>
		<Note Title="Summary" Type="General" Ordinal="2" xml:lang="en">An update for php is now available for openEuler-20.03-LTS-SP1.</Note>
		<Note Title="Description" Type="General" Ordinal="3" xml:lang="en">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):

When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause function mbfl_filt_conv_big5_wchar to read past the allocated buffer. This may lead to information disclosure or crash.(CVE-2020-7060)

In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.(CVE-2020-7070)

In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.(CVE-2020-7069)</Note>
		<Note Title="Topic" Type="General" Ordinal="4" xml:lang="en">An update for php is now available for openEuler-20.03-LTS-SP1.

openEuler Security has rated this update as having a security impact of critical. 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.</Note>
		<Note Title="Severity" Type="General" Ordinal="5" xml:lang="en">Critical</Note>
		<Note Title="Affected Component" Type="General" Ordinal="6" xml:lang="en">php</Note>
	</DocumentNotes>
	<DocumentReferences>
		<Reference Type="Self">
			<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1056</URL>
		</Reference>
		<Reference Type="openEuler CVE">
			<URL>https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-7070</URL>
			<URL>https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-7069</URL>
		</Reference>
		<Reference Type="Other">
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2020-7070</URL>
			<URL>https://nvd.nist.gov/vuln/detail/CVE-2020-7069</URL>
		</Reference>
	</DocumentReferences>
	<ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
		<Branch Type="Product Name" Name="openEuler">
			<FullProductName ProductID="openEuler-20.03-LTS-SP1" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">openEuler-20.03-LTS-SP1</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="aarch64">
			<FullProductName ProductID="php-xml-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-xml-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-dba-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-dba-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-soap-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-soap-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-tidy-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-tidy-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-pdo-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-pdo-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-embedded-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-embedded-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-cli-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-cli-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-devel-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-devel-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-gd-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-gd-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-help-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-help-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-mbstring-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-mbstring-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-debugsource-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-debugsource-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-ldap-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-ldap-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-xmlrpc-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-xmlrpc-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-json-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-json-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-snmp-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-snmp-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-enchant-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-enchant-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-opcache-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-opcache-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-pgsql-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-pgsql-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-common-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-common-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-odbc-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-odbc-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-recode-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-recode-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-intl-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-intl-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-bcmath-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-bcmath-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-debuginfo-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-debuginfo-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-dbg-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-dbg-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-process-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-process-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-fpm-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-fpm-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-gmp-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-gmp-7.2.10-13.oe1.aarch64.rpm</FullProductName>
			<FullProductName ProductID="php-mysqlnd-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-mysqlnd-7.2.10-13.oe1.aarch64.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="src">
			<FullProductName ProductID="php-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-7.2.10-13.oe1.src.rpm</FullProductName>
		</Branch>
		<Branch Type="Package Arch" Name="x86_64">
			<FullProductName ProductID="php-json-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-json-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-fpm-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-fpm-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-embedded-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-embedded-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-recode-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-recode-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-mbstring-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-mbstring-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-intl-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-intl-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-help-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-help-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-mysqlnd-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-mysqlnd-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-gmp-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-gmp-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-debugsource-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-debugsource-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-xml-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-xml-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-devel-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-devel-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-enchant-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-enchant-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-pgsql-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-pgsql-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-soap-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-soap-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-ldap-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-ldap-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-odbc-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-odbc-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-opcache-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-opcache-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-pdo-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-pdo-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-cli-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-cli-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-gd-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-gd-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-dba-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-dba-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-xmlrpc-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-xmlrpc-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-tidy-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-tidy-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-process-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-process-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-common-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-common-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-bcmath-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-bcmath-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-debuginfo-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-debuginfo-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-snmp-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-snmp-7.2.10-13.oe1.x86_64.rpm</FullProductName>
			<FullProductName ProductID="php-dbg-7.2.10-13" CPE="cpe:/a:openEuler:openEuler:20.03-LTS-SP1">php-dbg-7.2.10-13.oe1.x86_64.rpm</FullProductName>
		</Branch>
	</ProductTree>
	<Vulnerability Ordinal="1" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause function mbfl_filt_conv_big5_wchar to read past the allocated buffer. This may lead to information disclosure or crash.</Note>
		</Notes>
		<ReleaseDate>2021-02-10</ReleaseDate>
		<CVE>CVE-2020-7060</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Critical</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>9.1</BaseScore>
				<Vector>AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>php security update</Description>
				<DATE>2021-03-05</DATE>
				<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1038</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
	<Vulnerability Ordinal="2" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.</Note>
		</Notes>
		<ReleaseDate>2021-03-05</ReleaseDate>
		<CVE>CVE-2020-7070</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>5.3</BaseScore>
				<Vector>AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>php security update</Description>
				<DATE>2021-03-05</DATE>
				<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1056</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
	<Vulnerability Ordinal="3" xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1">
		<Notes>
			<Note Title="Vulnerability Description" Type="General" Ordinal="2" xml:lang="en">In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.</Note>
		</Notes>
		<ReleaseDate>2021-03-05</ReleaseDate>
		<CVE>CVE-2020-7069</CVE>
		<ProductStatuses>
			<Status Type="Fixed">
				<ProductID>openEuler-20.03-LTS-SP1</ProductID>
			</Status>
		</ProductStatuses>
		<Threats>
			<Threat Type="Impact">
				<Description>Medium</Description>
			</Threat>
		</Threats>
		<CVSSScoreSets>
			<ScoreSet>
				<BaseScore>6.5</BaseScore>
				<Vector>AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N</Vector>
			</ScoreSet>
		</CVSSScoreSets>
		<Remediations>
			<Remediation Type="Vendor Fix">
				<Description>php security update</Description>
				<DATE>2021-03-05</DATE>
				<URL>https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1056</URL>
			</Remediation>
		</Remediations>
	</Vulnerability>
</cvrfdoc>