{"id":"USN-5905-1","summary":"php7.0 vulnerabilities","details":"It was discovered that PHP incorrectly handled certain gzip files.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2022-31628)\n\nIt was discovered that PHP incorrectly handled certain cookies.\nAn attacker could possibly use this issue to compromise data integrity.\n(CVE-2022-31629)\n\nIt was discovered that PHP incorrectly handled certain inputs.\nAn attacker could possibly use this issue to cause a crash or\nexecute arbitrary code. (CVE-2022-31631)\n\nIt was discovered that PHP incorrectly handled resolving long paths. A\nremote attacker could possibly use this issue to obtain or modify sensitive\ninformation. (CVE-2023-0568)\n\nIt was discovered that PHP incorrectly handled a large number of field and file\nparts in HTTP form uploads. A remote attacker could possibly use this issue to\ncause PHP to consume resources, leading to a denial of service. (CVE-2023-0662)\n","modified":"2026-04-22T10:56:56.144326Z","published":"2023-03-02T12:20:45Z","related":["UBUNTU-CVE-2022-31628","UBUNTU-CVE-2022-31629","UBUNTU-CVE-2022-31631","UBUNTU-CVE-2023-0568","UBUNTU-CVE-2023-0662"],"upstream":["CVE-2022-31628","CVE-2022-31629","CVE-2022-31631","CVE-2023-0568","CVE-2023-0662","UBUNTU-CVE-2022-31628","UBUNTU-CVE-2022-31629","UBUNTU-CVE-2022-31631","UBUNTU-CVE-2023-0568","UBUNTU-CVE-2023-0662"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5905-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31628"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31629"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-31631"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-0568"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-0662"}],"affected":[{"package":{"name":"php7.0","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/php7.0@7.0.33-0ubuntu0.16.04.16+esm5?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.33-0ubuntu0.16.04.16+esm5"}]}],"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","7.0.33-0ubuntu0.16.04.16+esm1","7.0.33-0ubuntu0.16.04.16+esm2","7.0.33-0ubuntu0.16.04.16+esm3","7.0.33-0ubuntu0.16.04.16+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"libapache2-mod-php7.0","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"libphp7.0-embed","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-bcmath","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-bz2","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-cgi","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-cli","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-common","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-curl","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-dba","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-enchant","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-fpm","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-gd","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-gmp","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-imap","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-interbase","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-intl","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-json","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-ldap","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-mbstring","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-mcrypt","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-mysql","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-odbc","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-opcache","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-pgsql","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-phpdbg","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-pspell","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-readline","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-recode","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-snmp","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-soap","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-sqlite3","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-sybase","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-tidy","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-xml","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-xmlrpc","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-xsl","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"},{"binary_name":"php7.0-zip","binary_version":"7.0.33-0ubuntu0.16.04.16+esm5"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2022-31628","severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-31629","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2022-31631","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2023-0568","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2023-0662","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:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5905-1.json"}}],"schema_version":"1.7.5"}