CVE-2021-21705

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.
References
Link Resource
https://bugs.php.net/bug.php?id=81122 Exploit Issue Tracking Patch Vendor Advisory
https://security.gentoo.org/glsa/202209-20 Third Party Advisory
https://security.netapp.com/advisory/ntap-20211029-0006/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html Patch Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:a:oracle:sd-wan_aware:8.2:*:*:*:*:*:*:*

History

22 Feb 2022, 14:48

Type Values Removed Values Added
References (MISC) https://www.oracle.com/security-alerts/cpujan2022.html - (MISC) https://www.oracle.com/security-alerts/cpujan2022.html - Patch, Vendor Advisory
CPE cpe:2.3:a:oracle:sd-wan_aware:8.2:*:*:*:*:*:*:*

07 Feb 2022, 16:15

Type Values Removed Values Added
References
  • (MISC) https://www.oracle.com/security-alerts/cpujan2022.html -

05 Nov 2021, 17:43

Type Values Removed Values Added
CPE cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
References (CONFIRM) https://security.netapp.com/advisory/ntap-20211029-0006/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20211029-0006/ - Third Party Advisory

29 Oct 2021, 13:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20211029-0006/ -

08 Oct 2021, 03:44

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.0
v3 : 5.3
References (CONFIRM) https://bugs.php.net/bug.php?id=81122 - (CONFIRM) https://bugs.php.net/bug.php?id=81122 - Exploit, Issue Tracking, Patch, Vendor Advisory
CWE CWE-20
CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

04 Oct 2021, 05:15

Type Values Removed Values Added
Summary 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. 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.

04 Oct 2021, 04:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-04 04:15

Updated : 2024-02-04 22:08


NVD link : CVE-2021-21705

Mitre link : CVE-2021-21705

CVE.ORG link : CVE-2021-21705


JSON object : View

Products Affected

netapp

  • clustered_data_ontap

php

  • php

oracle

  • sd-wan_aware
CWE
CWE-20

Improper Input Validation