Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2021-21706

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

PHP Vulnerability: CVE-2021-21706

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
10/04/2021
Created
12/01/2021
Added
11/30/2021
Modified
11/30/2021

Description

In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions.

Solution(s)

  • php-upgrade-7_3_30
  • php-upgrade-7_4_23
  • php-upgrade-8_0_10

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;