Skip to content
Sign in
CVE-2021-327089.8CriticalCWE-367

CVE-2021-32708: Time-of-check Time-of-use (TOCTOU) Race Condition in league/flysystem

thephpleague · flysystem

Vendor fix available · Affected: thephpleague flysystem · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

3.5%probability of exploitation in the next 30 days
89th percentile
050100

Higher than 89% of scored CVEs

9.8CriticalCVSS 3.1
LowCrit.

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • thephpleague · flysystem< 1.1.4; >= 2.0.0, < 2.1.1

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Published
June 2021

Disclosed bug bounty reports about CVE-2021-32708

The reports on HackerOne that name this CVE, with HackerOne's own outcome. Titles and metadata only.

CoverageNo articles yet

No CyberSIXT article names CVE-2021-32708 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in