Bugzilla – Bug 1168326
VUL-1: CVE-2020-7064: php5,php72,php7,php53: read one byte of uninitialized memory via malicious data
Last modified: 2020-07-10 09:48:20 UTC
CVE-2020-7064 In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while parsing EXIF data with exif_read_data() function, it is possible for malicious data to cause PHP to read one byte of uninitialized memory. This could potentially lead to information disclosure or crash. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-7064 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7064 https://bugs.php.net/bug.php?id=79282
I could not reproduce the issue with valgrind probably the issue is reproducible with ASAN only. The same is reported in the upstream bug [1]. I attach the POC which is taken from the test case. The fix can be found at [2]. All our supported versions are affected. That are: php7 --> SLE15-SP2,SLE15,SLE12 php72 --> SLE12 php53 -->SLE11-SP3 php5 --> SLE10-SP3,SLE11,SLE12 Factory already ships the fixed version 7.4.4 [1] https://bugs.php.net/bug.php?id=79282 [2] http://git.php.net/?p=php-src.git;a=commit;h=41f66e2a2cfd611e35be5ac3bf747f0b56161216
Created attachment 834545 [details] POC
Thanks for checking testcase. Considering unusable for us.
Packages submitted for: 15sp2/php7, 15/php7, 12/php72, 12/php5, 11sp3/php53, 11/php5, 10sp3/php5 and devel:languages:php:php56/php5.
I believe all fixed.
An update workflow for this issue was started. This issue was rated as moderate. Please submit fixed packages until 2020-05-18. When done, reassign the bug to security-team@suse.de. https://swamp.suse.de/webswamp/wf/64435
SUSE-SU-2020:1199-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 1168326,1168352 CVE References: CVE-2020-7064,CVE-2020-7066 Sources used: SUSE Linux Enterprise Module for Web Scripting 15-SP1 (src): php7-7.2.5-4.55.7, tidy-5.4.0-3.2.1 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): php7-7.2.5-4.55.7, tidy-5.4.0-3.2.1 SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): tidy-5.4.0-3.2.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
openSUSE-SU-2020:0642-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 1168326,1168352 CVE References: CVE-2020-7064,CVE-2020-7066 Sources used: openSUSE Leap 15.1 (src): php7-7.2.5-lp151.6.25.1, php7-test-7.2.5-lp151.6.25.1, tidy-5.4.0-lp151.3.3.1
SUSE-SU-2020:1546-1: An update that fixes three vulnerabilities is now available. Category: security (moderate) Bug References: 1168326,1168352,1171999 CVE References: CVE-2019-11048,CVE-2020-7064,CVE-2020-7066 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP5 (src): php72-7.2.5-1.46.1 SUSE Linux Enterprise Software Development Kit 12-SP4 (src): php72-7.2.5-1.46.1 SUSE Linux Enterprise Module for Web Scripting 12 (src): php72-7.2.5-1.46.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
SUSE-SU-2020:1714-1: An update that fixes three vulnerabilities is now available. Category: security (moderate) Bug References: 1168326,1168352,1171999 CVE References: CVE-2019-11048,CVE-2020-7064,CVE-2020-7066 Sources used: SUSE Linux Enterprise Software Development Kit 12-SP4 (src): php5-5.5.14-109.76.1 SUSE Linux Enterprise Module for Web Scripting 12 (src): php5-5.5.14-109.76.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Done