
CVE catalog
CVE-2021-32708
php-league-flysystem: CVE-2021-32708
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.49% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-league-flysystem | sid | 3.36.0-1 | fixed |
| Debian | php-league-flysystem | forky | 3.29.1-2 | fixed |
| Debian | php-league-flysystem | trixie | 3.29.1-2 | fixed |
| Debian | php-league-flysystem | bookworm | 1.1.10-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-league-flysystem | source | sid | 1.1.3-4 | not yet assigned | Not reported | [990288] |
| Debian | php-league-flysystem | source | forky | 1.1.3-4 | not yet assigned | Not reported | [990288] |
| Debian | php-league-flysystem | source | trixie | 1.1.3-4 | not yet assigned | Not reported | [990288] |
| Debian | php-league-flysystem | source | bookworm | 1.1.3-4 | not yet assigned | Not reported | [990288] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [php-league-flysystem]Fixed
Details (2)
1.1.10-1· all · bookwormFixed · Fixed:
1.1.3-4dsa · php-league-flysystem · debian · bookworm; dsa · php-league-flysystem · debian · 12
1.1.10-1· all · bookwormFixed · Fixed:
1.1.3-4dsa · php-league-flysystem · debian · bookworm; dsa · php-league-flysystem · debian · 12
[Debian 13 (Trixie)]
- [php-league-flysystem]Fixed
Details (2)
3.29.1-2· all · trixieFixed · Fixed:
1.1.3-4dsa · php-league-flysystem · debian · 13
3.29.1-2· all · trixieFixed · Fixed:
1.1.3-4dsa · php-league-flysystem · debian · 13
Observed: