Time-of-check Time-of-use (TOCTOU) Race Condition in Flysystem - CVE-2021-32708

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Flysystem - CVE-2021-32708

Published: June 28, 2021


Vulnerability identifier: #VU54411
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-32708
CWE-ID: CWE-367
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a race condition. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.


Affected software

Flysystem
Fedora
php-league-flysystem

How to mitigate CVE-2021-32708

Install updates from vendor's website.

Flysystem - addressed in versions 1.1.4, 2.1.1
php-league-flysystem - addressed in versions 1.1.4-1.fc33, 1.1.4-1.fc34

External References

Related Security Bulletins