UBUNTU-CVE-2021-32708

Source
https://ubuntu.com/security/CVE-2021-32708
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32708.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-32708
Related
Published
2021-06-24T17:15:00Z
Modified
2024-10-15T14:08:09Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Flysystem is an open source file storage library for PHP. The whitespace normalisation using in 1.x and 2.x removes any unicode whitespace. Under certain specific conditions this could potentially allow a malicious user to execute code remotely. The conditions are: A user is allowed to supply the path or filename of an uploaded file, the supplied path or filename is not checked against unicode chars, the supplied pathname checked against an extension deny-list, not an allow-list, the supplied path or filename contains a unicode whitespace char in the extension, the uploaded file is stored in a directory that allows PHP code to be executed. Given these conditions are met a user can upload and execute arbitrary code on the system under attack. The unicode whitespace removal has been replaced with a rejection (exception). For 1.x users, upgrade to 1.1.4. For 2.x users, upgrade to 2.1.1.

References

Affected packages

Ubuntu:Pro:16.04:LTS / php-league-flysystem

Package

Name
php-league-flysystem
Purl
pkg:deb/ubuntu/php-league-flysystem?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.0.15-1
1.0.16-1
1.0.16-1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / php-league-flysystem

Package

Name
php-league-flysystem
Purl
pkg:deb/ubuntu/php-league-flysystem?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.3-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / php-league-flysystem

Package

Name
php-league-flysystem
Purl
pkg:deb/ubuntu/php-league-flysystem?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.10-1
1.1.10-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / php-league-flysystem

Package

Name
php-league-flysystem
Purl
pkg:deb/ubuntu/php-league-flysystem?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.10-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}