CVE-2021-32708 (High) detected in league/flysystem-1.0.55 - autoclosed
Closed this issue · 3 comments
CVE-2021-32708 - High Severity Vulnerability
Vulnerable Library - league/flysystem-1.0.55
Abstraction for local and remote filesystems
Dependency Hierarchy:
- cache/filesystem-adapter-0.3.3 (Root Library)
- ❌ league/flysystem-1.0.55 (Vulnerable Library)
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2021-06-24
URL: CVE-2021-32708
CVSS 3 Score Details (8.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: GHSA-9f46-5r25-5wfm
Release Date: 2021-06-24
Fix Resolution: 1.1.4,2.1.1
Step up your Open Source Security Game with WhiteSource here
Vulnerable library is located in /3rd-party/google-api/. We're not hooked into Google API in any live features yet (will use later for Google home alerts / Google translate), so it causes no attack vector yet in Open Crypto Tracker. Patch it for next release.
Patched 3e2ad73
✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.