canonical ubuntu-linux CVE-2021-21705 vulnerability in Canonical and Other Products
Published on October 4, 2021

Incorrect URL validation in FILTER_VALIDATE_URL

product logo product logo product logo product logo
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.

Vendor Advisory NVD

Vulnerability Analysis

CVE-2021-21705 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
REQUIRED
Scope:
UNCHANGED
Confidentiality Impact:
LOW
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.


Products Associated with CVE-2021-21705

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2021-21705 are published in these products:

 
PHP
 
 
 

Affected Versions

PHP Group PHP:

Exploit Probability

EPSS
0.29%
Percentile
52.35%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.