UBUNTU-CVE-2021-21706

Source
https://ubuntu.com/security/CVE-2021-21706
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-21706.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-21706
Related
Published
2021-10-04T04:15:00Z
Modified
2021-10-04T04:15:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions.

References

Affected packages

Ubuntu:22.04:LTS / php8.1

Package

Name
php8.1
Purl
pkg:deb/ubuntu/php8.1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.0-1

Affected versions

8.*

8.1.0~rc4-1ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "negligible",
    "binaries": [
        {
            "binary_version": "8.1.0-1",
            "binary_name": "libapache2-mod-php8.1"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "libapache2-mod-php8.1-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "libphp8.1-embed"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "libphp8.1-embed-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-bcmath"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-bcmath-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-bz2"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-bz2-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-cgi"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-cgi-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-cli"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-cli-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-common"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-common-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-curl"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-curl-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-dba"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-dba-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-dev"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-enchant"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-enchant-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-fpm"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-fpm-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-gd"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-gd-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-gmp"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-gmp-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-imap"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-imap-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-interbase"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-interbase-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-intl"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-intl-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-ldap"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-ldap-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-mbstring"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-mbstring-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-mysql"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-mysql-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-odbc"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-odbc-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-opcache"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-opcache-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-pgsql"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-pgsql-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-phpdbg"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-phpdbg-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-pspell"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-pspell-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-readline"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-readline-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-snmp"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-snmp-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-soap"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-soap-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-sqlite3"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-sqlite3-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-sybase"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-sybase-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-tidy"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-tidy-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-xml"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-xml-dbgsym"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-xsl"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-zip"
        },
        {
            "binary_version": "8.1.0-1",
            "binary_name": "php8.1-zip-dbgsym"
        }
    ]
}