usn-5006-2
Vulnerability from osv_ubuntu
USN-5006-1 fixed several vulnerabilities in PHP. This update provides the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
Original advisory details:
It was discovered that PHP incorrectly handled certain PHAR files. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service, or possibly obtain sensitive information. (CVE-2020-7068)
It was discovered that PHP incorrectly handled parsing URLs with passwords. A remote attacker could possibly use this issue to cause PHP to mis-parse the URL and produce wrong data. (CVE-2020-7071)
It was discovered that PHP incorrectly handled certain malformed XML data when being parsed by the SOAP extension. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2021-21702)
It was discovered that PHP incorrectly handled the pdo_firebase module. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2021-21704)
It was discovered that PHP incorrectly handled the FILTER_VALIDATE_URL check. A remote attacker could possibly use this issue to perform a server- side request forgery attack. (CVE-2021-21705)
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2020-7068",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-7071",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-21702",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-21704",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-21705",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:14.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libapache2-mod-php5",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "libapache2-mod-php5filter",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "libphp5-embed",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php-pear",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-cgi",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-cli",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-common",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-curl",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-enchant",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-fpm",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-gd",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-gmp",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-intl",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-ldap",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-mysql",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-mysqlnd",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-odbc",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-pgsql",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-pspell",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-readline",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-recode",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-snmp",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-sqlite",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-sybase",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-tidy",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-xmlrpc",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
},
{
"binary_name": "php5-xsl",
"binary_version": "5.5.9+dfsg-1ubuntu4.29+esm14"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "php5",
"purl": "pkg:deb/ubuntu/php5@5.5.9+dfsg-1ubuntu4.29+esm14?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.5.9+dfsg-1ubuntu4.29+esm14"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.5.3+dfsg-1ubuntu2",
"5.5.3+dfsg-1ubuntu3",
"5.5.6+dfsg-1ubuntu1",
"5.5.6+dfsg-1ubuntu2",
"5.5.8+dfsg-2ubuntu1",
"5.5.9+dfsg-1ubuntu1",
"5.5.9+dfsg-1ubuntu2",
"5.5.9+dfsg-1ubuntu3",
"5.5.9+dfsg-1ubuntu4",
"5.5.9+dfsg-1ubuntu4.1",
"5.5.9+dfsg-1ubuntu4.2",
"5.5.9+dfsg-1ubuntu4.3",
"5.5.9+dfsg-1ubuntu4.4",
"5.5.9+dfsg-1ubuntu4.5",
"5.5.9+dfsg-1ubuntu4.6",
"5.5.9+dfsg-1ubuntu4.7",
"5.5.9+dfsg-1ubuntu4.9",
"5.5.9+dfsg-1ubuntu4.11",
"5.5.9+dfsg-1ubuntu4.12",
"5.5.9+dfsg-1ubuntu4.13",
"5.5.9+dfsg-1ubuntu4.14",
"5.5.9+dfsg-1ubuntu4.16",
"5.5.9+dfsg-1ubuntu4.17",
"5.5.9+dfsg-1ubuntu4.19",
"5.5.9+dfsg-1ubuntu4.20",
"5.5.9+dfsg-1ubuntu4.21",
"5.5.9+dfsg-1ubuntu4.22",
"5.5.9+dfsg-1ubuntu4.23",
"5.5.9+dfsg-1ubuntu4.24",
"5.5.9+dfsg-1ubuntu4.25",
"5.5.9+dfsg-1ubuntu4.26",
"5.5.9+dfsg-1ubuntu4.27",
"5.5.9+dfsg-1ubuntu4.29",
"5.5.9+dfsg-1ubuntu4.29+esm1",
"5.5.9+dfsg-1ubuntu4.29+esm2",
"5.5.9+dfsg-1ubuntu4.29+esm3",
"5.5.9+dfsg-1ubuntu4.29+esm4",
"5.5.9+dfsg-1ubuntu4.29+esm5",
"5.5.9+dfsg-1ubuntu4.29+esm6",
"5.5.9+dfsg-1ubuntu4.29+esm8",
"5.5.9+dfsg-1ubuntu4.29+esm10",
"5.5.9+dfsg-1ubuntu4.29+esm11",
"5.5.9+dfsg-1ubuntu4.29+esm12",
"5.5.9+dfsg-1ubuntu4.29+esm13"
]
},
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2020-7068",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-7071",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-21702",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-21704",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2021-21705",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:Pro:16.04:LTS"
}
},
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libapache2-mod-php7.0",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "libphp7.0-embed",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-bcmath",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-bz2",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-cgi",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-cli",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-common",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-curl",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-dba",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-enchant",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-fpm",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-gd",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-gmp",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-imap",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-interbase",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-intl",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-json",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-ldap",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-mbstring",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-mcrypt",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-mysql",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-odbc",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-opcache",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-pgsql",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-phpdbg",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-pspell",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-readline",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-recode",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-snmp",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-soap",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-sqlite3",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-sybase",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-tidy",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-xml",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-xmlrpc",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-xsl",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
},
{
"binary_name": "php7.0-zip",
"binary_version": "7.0.33-0ubuntu0.16.04.16+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "php7.0",
"purl": "pkg:deb/ubuntu/php7.0@7.0.33-0ubuntu0.16.04.16+esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "7.0.33-0ubuntu0.16.04.16+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"7.0.1-5",
"7.0.1-6",
"7.0.2-1",
"7.0.2-3",
"7.0.2-4",
"7.0.2-5",
"7.0.3-2",
"7.0.3-3",
"7.0.3-9ubuntu1",
"7.0.4-5ubuntu1",
"7.0.4-5ubuntu2",
"7.0.4-7ubuntu1",
"7.0.4-7ubuntu2",
"7.0.4-7ubuntu2.1",
"7.0.8-0ubuntu0.16.04.1",
"7.0.8-0ubuntu0.16.04.2",
"7.0.8-0ubuntu0.16.04.3",
"7.0.13-0ubuntu0.16.04.1",
"7.0.15-0ubuntu0.16.04.1",
"7.0.15-0ubuntu0.16.04.2",
"7.0.15-0ubuntu0.16.04.4",
"7.0.18-0ubuntu0.16.04.1",
"7.0.22-0ubuntu0.16.04.1",
"7.0.25-0ubuntu0.16.04.1",
"7.0.28-0ubuntu0.16.04.1",
"7.0.30-0ubuntu0.16.04.1",
"7.0.32-0ubuntu0.16.04.1",
"7.0.33-0ubuntu0.16.04.1",
"7.0.33-0ubuntu0.16.04.2",
"7.0.33-0ubuntu0.16.04.3",
"7.0.33-0ubuntu0.16.04.4",
"7.0.33-0ubuntu0.16.04.5",
"7.0.33-0ubuntu0.16.04.6",
"7.0.33-0ubuntu0.16.04.7",
"7.0.33-0ubuntu0.16.04.9",
"7.0.33-0ubuntu0.16.04.11",
"7.0.33-0ubuntu0.16.04.12",
"7.0.33-0ubuntu0.16.04.14",
"7.0.33-0ubuntu0.16.04.15",
"7.0.33-0ubuntu0.16.04.16"
]
}
],
"aliases": [],
"details": "USN-5006-1 fixed several vulnerabilities in PHP. This update provides\nthe corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that PHP incorrectly handled certain PHAR files. A remote\n attacker could possibly use this issue to cause PHP to crash, resulting in\n a denial of service, or possibly obtain sensitive information. (CVE-2020-7068)\n\n It was discovered that PHP incorrectly handled parsing URLs with passwords.\n A remote attacker could possibly use this issue to cause PHP to mis-parse\n the URL and produce wrong data. (CVE-2020-7071)\n\n It was discovered that PHP incorrectly handled certain malformed XML data\n when being parsed by the SOAP extension. A remote attacker could possibly\n use this issue to cause PHP to crash, resulting in a denial of service.\n (CVE-2021-21702)\n\n It was discovered that PHP incorrectly handled the pdo_firebase module. A\n remote attacker could possibly use this issue to cause PHP to crash,\n resulting in a denial of service. (CVE-2021-21704)\n\n It was discovered that PHP incorrectly handled the FILTER_VALIDATE_URL\n check. A remote attacker could possibly use this issue to perform a server-\n side request forgery attack. (CVE-2021-21705)\n",
"id": "USN-5006-2",
"modified": "2026-06-29T10:52:50Z",
"published": "2021-07-13T12:01:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5006-2"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-7068"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-7071"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-21702"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-21704"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-21705"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "php5, php7.0 vulnerabilities",
"upstream": [
"UBUNTU-CVE-2020-7068",
"UBUNTU-CVE-2020-7071",
"UBUNTU-CVE-2021-21702",
"UBUNTU-CVE-2021-21704",
"UBUNTU-CVE-2021-21705"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.