CVE-2021-32708
Summary
| CVE | CVE-2021-32708 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-06-24 17:15:00 UTC |
| Updated | 2023-11-07 03:35:00 UTC |
| Description | 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Reject paths with funky whitespace. · thephpleague/flysystem@f3ad691 · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 34 Update: php-league-flysystem-1.1.4-1.fc34 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| league/flysystem - Packagist |
MISC |
packagist.org |
|
| [SECURITY] Fedora 33 Update: php-league-flysystem-1.1.4-1.fc33 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Time-of-check Time-of-use (TOCTOU) Race Condition in league/flysystem · Advisory · thephpleague/flysystem · GitHub |
CONFIRM |
github.com |
|
| [SECURITY] Fedora 34 Update: php-league-flysystem-1.1.4-1.fc34 - package-announce - Fedora Mailing-Lists |
FEDORA |
lists.fedoraproject.org |
|
| Reject funky whitspace paths. · thephpleague/flysystem@a3c694d · GitHub |
MISC |
github.com |
|
| [SECURITY] Fedora 33 Update: php-league-flysystem-1.1.4-1.fc33 - package-announce - Fedora Mailing-Lists |
|
lists.fedoraproject.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 180011 Debian Security Update for php-league-flysystem (CVE-2021-32708)
- 281680 Fedora Security Update for php (FEDORA-2021-717516a2e9)
- 281681 Fedora Security Update for php (FEDORA-2021-b9187c535c)