A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Flysystem is an open source file storage library for PHP. Prior to 3.35.3, the default WhitespacePathNormalizer in src/WhitespacePathNormalizer.php used by Filesystem across adapters calls preg_match with the u modifier and treats both false and 0 as falsy. A path containing malformed UTF-8 causes PCRE to return false, so paths that also contain control characters bypass CorruptedPathDetected::forPath() in normalizePath(). Filesystem::write() can store such names and Filesystem::listContents() can return the raw ANSI escape sequences, allowing hidden or spoofed terminal file listings when an administrator displays them. This issue is fixed in version 3.35.3.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /thephpleague/flysystem/commit/ef4a9a557d769b5d472c40312571…
- github.com /thephpleague/flysystem/releases/tag/3.35.3
- github.com /thephpleague/flysystem/security/advisories/GHSA-cxf4-7mrp-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning