CVE-2020-7067
published 2020-04-27CVE-2020-7067: In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be…
PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
4.31%
90.1th percentile
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | php7.4 | < php7.4 7.4.5-1 (bullseye) | php7.4 7.4.5-1 (bullseye) |
| oracle | communications_diameter_signaling_router | 8.0.0.0 – 8.4.0.5 | — |
| php | php | >= 7.2.0 < 7.2.30 | 7.2.30 |
| php | php | >= 7.3.0 < 7.3.17 | 7.3.17 |
| php | php | >= 7.4.0 < 7.4.5 | 7.4.5 |
| php_group | php | — | — |
| php_group | php | — | — |
| tenable | tenable.sc | < 5.19.0 | 5.19.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-8hqm-3r2c-qg9c: In PHP versions 7
ghsa_unreviewed·2022-05-24
CVE-2020-7067 [MEDIUM] CWE-125 GHSA-8hqm-3r2c-qg9c: In PHP versions 7
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
OSV
CVE-2020-7067: In PHP versions 7
osv·2020-04-27·CVSS 7.5
CVE-2020-7067 [HIGH] CVE-2020-7067: In PHP versions 7
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
Red Hat
php: out-of-bounds read when using a malformed url-encoded string
vendor_redhat·2020-04-10·CVSS 7.5
CVE-2020-7067 [HIGH] CWE-125 php: out-of-bounds read when using a malformed url-encoded string
php: out-of-bounds read when using a malformed url-encoded string
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
Statement: This affects php running only on platforms using EBCDIC encoding, as versions of Red Hat Enteprise Linux uses ASCII encoding all php versions shipped with it are not vulnerable to this flaw.
Package: php (Red Hat Enterprise Linux 5) - Not affected
Package: php53 (Red Hat Enterprise Linux 5) - Not affected
Package: php (Red Hat Enterprise Linux 6) - Not affected
Package: php (Red Hat Enterprise Linux 7) - Not affected
Package: php:7.2/php (Red Ha
Debian
CVE-2020-7067: php7.4 - In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if...
vendor_debian·2020·CVSS 7.5
CVE-2020-7067 [HIGH] CVE-2020-7067: php7.4 - In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if...
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
Scope: local
bullseye: resolved (fixed in 7.4.5-1)
No detection rules found.
No public exploits indexed.
HackerOne
Out-of-Bound Read in urldecode() [CVE-2020-7067]
hackerone·2020-10-12·CVSS 7.5
CVE-2020-7067 [HIGH] Out-of-Bound Read in urldecode() [CVE-2020-7067]
Out-of-Bound Read in urldecode() [CVE-2020-7067]
Hi,
Please see: https://bugs.php.net/bug.php?id=79465&edit=2
CVE is assigned (*CVE-2020-7067*)
Fixed in 7.4.5 Release: https://www.php.net/ChangeLog-7.php#7.4.5
## Impact
A remote attacker might leak values from the memory by crafting a malicious url-encoded string into PHP's ``urldecode()``
Bugzilla
CVE-2020-7067 php: out-of-bounds read when using a malformed url-encoded string
bugzilla·2020-04-24·CVSS 7.5
CVE-2020-7067 [HIGH] CVE-2020-7067 php: out-of-bounds read when using a malformed url-encoded string
CVE-2020-7067 php: out-of-bounds read when using a malformed url-encoded string
If ``CHARSET_EBCDIC`` is defined (usually, on systems with EBCDIC encoding support), an Out-of-Bounds read can occur using a malformed url-encoded string.
References:
https://www.php.net/ChangeLog-7.php
https://bugs.php.net/bug.php?id=79465
Discussion:
Statement:
This affects php running only on platforms using EBCDIC encoding, as versions of Red Hat Enteprise Linux uses ASCII encoding all php versions shipped with it are not vulnerable to this flaw.
https://bugs.php.net/bug.php?id=79465https://security.netapp.com/advisory/ntap-20200504-0001/https://www.debian.org/security/2020/dsa-4717https://www.debian.org/security/2020/dsa-4719https://www.oracle.com/security-alerts/cpuApr2021.htmlhttps://www.oracle.com/security-alerts/cpuoct2020.htmlhttps://www.tenable.com/security/tns-2021-14https://bugs.php.net/bug.php?id=79465https://security.netapp.com/advisory/ntap-20200504-0001/https://www.debian.org/security/2020/dsa-4717https://www.debian.org/security/2020/dsa-4719https://www.oracle.com/security-alerts/cpuApr2021.htmlhttps://www.oracle.com/security-alerts/cpuoct2020.htmlhttps://www.tenable.com/security/tns-2021-14
2020-04-27
Published