mb_strtolower (UTF-32LE): stack-buffer-overflow at php_unicode_tolower_full
Published Apr 1, 2020
8.8
HIGHCVSS 3.1
EPSS 4.88%
Description
In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.
Affected products
-
Affected
- ≥ 7.3.x, < 7.3.16
- ≥ 7.4.x, < 7.4.4
Configuration 2
- 10.0
Configuration 3
- 12.04
- 14.04
- 16.04
- 18.04
- 19.10
- 20.04
Configuration 4
- < 5.19.0
No data.
Red Hat Enterprise Linux 8
php:7.3-8020020200715124551.ceb1cf90
Fixed · RHSA-2020:3662
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php73-php-0:7.3.20-1.el7
Fixed · RHSA-2020:5275
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Enterprise Linux 8
php:7.2/php
Not affected
Red Hat Software Collections
rh-php72-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.3-8020020200715124551.ceb1cf90 | Fixed | RHSA-2020:3662 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php73-php-0:7.3.20-1.el7 | Fixed | RHSA-2020:5275 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php:7.2/php | Not affected | n/a |
| Red Hat Software Collections | rh-php72-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (15)
- https://access.redhat.com/security/cve/CVE-2020-7065 Vendor Advisory
- https://bugs.php.net/bug.php?id=79371 x_refsource_MISCExploitIssue TrackingPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1820627 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-28199 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-7065
- https://security.netapp.com/advisory/ntap-20200403-0001/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4330-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/4330-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2020-7065
- https://www.debian.org/security/2020/dsa-4719 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISCPatchThird Party Advisory
- https://www.php.net/ChangeLog-7.php#7.4.4 x_refsource_CONFIRMRelease NotesVendor Advisory
- https://www.php.net/ChangeLog-7.php#PHP_7_3
- https://www.php.net/ChangeLog-7.php#PHP_7_4
- https://www.tenable.com/security/tns-2021-14 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data