CVE-2021-21705
CVSS V2 Medium 5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2021-21705
- Assigner
- security@php.net
- Vulnerability Status
- Analyzed
- Published Version
- 2021-10-04T04:15:08
- Last Modified Date
- 2022-10-29T02:50:01
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.3.0 | 7.3.29 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 7.4.0 | 7.4.21 |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 1 | OR | 8.0.0 | 8.0.8 |
cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:oracle:sd-wan_aware:8.2:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
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 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21705 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:31:59 | Added to TrackCVE | |||
2022-12-05 11:41:18 | 2021-10-04T04:15Z | 2021-10-04T04:15:08 | CVE Published Date | updated |
2022-12-05 11:41:18 | 2022-10-29T02:50:01 | CVE Modified Date | updated | |
2022-12-05 11:41:18 | Analyzed | Vulnerability Status | updated | |
2022-12-05 11:41:22 | References | updated |