---
title: "CVE-2020-7066"
canonical_url: "https://pkgseek.com/security/CVE-2020-7066"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2020-7066

In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.

CVE-2020-7066 is rated MEDIUM (4.3), with 57 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (4.3)
- **Affected builds**: 57
- **Affected distros**: 2
- **Distros with fixed_in**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | apcu-panel | 5.1.12-2.module+el8.2.0+5510+6771133c | 5.1.17-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | libzip | 1.5.1-2.module+el8.2.0+5510+6771133c | 1.5.2-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | libzip-devel | 1.5.1-2.module+el8.2.0+5510+6771133c | 1.5.2-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | libzip-tools | 1.5.1-2.module+el8.2.0+5510+6771133c | 1.5.2-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | php | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-bcmath | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-cli | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-common | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-dba | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-dbg | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-devel | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-embedded | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-enchant | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-fpm | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-gd | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-gmp | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-intl | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-json | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-ldap | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-mbstring | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-mysqlnd | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-odbc | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-opcache | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-pdo | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-pear | 1:1.10.5-9.module+el8.2.0+5510+6771133c | 1:1.10.9-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | php-pecl-apcu | 5.1.12-2.module+el8.2.0+5510+6771133c | 5.1.17-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | php-pecl-apcu-devel | 5.1.12-2.module+el8.2.0+5510+6771133c | 5.1.17-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | php-pecl-zip | 1.15.3-1.module+el8.2.0+5510+6771133c | 1.15.4-1.module+el8.2.0+5569+98c8b30d |
| Oracle Linux | 8 | php-pgsql | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-process | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-recode | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-snmp | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-soap | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-xml | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Oracle Linux | 8 | php-xmlrpc | 7.3.5-5.module+el8.2.0+5569+98c8b30d | 7.3.20-1.module+el8.2.0+7784+4033621d |
| Ubuntu | focal | libapache2-mod-php7.4 | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4 | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-cgi | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-cli | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-common | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-curl | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-dev | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-gd | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-gmp | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-json | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-ldap | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-mysql | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-odbc | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-opcache | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-pgsql | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-pspell | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-readline | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-snmp | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-sqlite3 | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-tidy | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-xml | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
| Ubuntu | focal | php7.4-xmlrpc | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu1.1 |
