Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2021-21705

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

PHP Vulnerability: CVE-2021-21705

Severity
5
CVSS
(AV:N/AC:L/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.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to the code incorrectly parsing the URL and potentially leading to other security implications - like contacting a wrong server or making a wrong access decision.

Solution(s)

  • php-upgrade-7_3_28
  • php-upgrade-7_4_20
  • php-upgrade-8_0_7

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

;