Search for vulnerabilities
Vulnerability details: VCID-6g8w-n721-aaak
Vulnerability ID VCID-6g8w-n721-aaak
Aliases CVE-2021-21705
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.
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (2)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-21705.html
rhas Moderate https://access.redhat.com/errata/RHSA-2021:2992
rhas Moderate https://access.redhat.com/errata/RHSA-2022:1935
cvssv3 5.3 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21705.json
epss 0.00067 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00067 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00067 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.0007 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.0007 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.0007 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.0007 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00093 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00100 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00100 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00100 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00100 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00255 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00267 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00295 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00295 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00295 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2021-21705
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1978755
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21704
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705
cvssv3.1 5.3 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv2 5.0 https://nvd.nist.gov/vuln/detail/CVE-2021-21705
cvssv3 5.3 https://nvd.nist.gov/vuln/detail/CVE-2021-21705
cvssv3.1 5.3 https://nvd.nist.gov/vuln/detail/CVE-2021-21705
archlinux Medium https://security.archlinux.org/AVG-2132
generic_textual Medium https://ubuntu.com/security/notices/USN-5006-1
generic_textual Medium https://ubuntu.com/security/notices/USN-5006-2
cvssv3.1 6.6 https://www.oracle.com/security-alerts/cpujan2022.html
generic_textual MODERATE https://www.oracle.com/security-alerts/cpujan2022.html
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2021/CVE-2021-21705.html
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21705.json
https://api.first.org/data/v1/epss?cve=CVE-2021-21705
https://bugs.php.net/bug.php?id=81122
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21704
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21705
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://security.gentoo.org/glsa/202209-20
https://security.netapp.com/advisory/ntap-20211029-0006/
https://ubuntu.com/security/notices/USN-5006-1
https://ubuntu.com/security/notices/USN-5006-2
https://www.oracle.com/security-alerts/cpujan2022.html
1978755 https://bugzilla.redhat.com/show_bug.cgi?id=1978755
990575 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990575
ASA-202107-15 https://security.archlinux.org/ASA-202107-15
AVG-2132 https://security.archlinux.org/AVG-2132
cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
cpe:2.3:a:oracle:sd-wan_aware:8.2:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:oracle:sd-wan_aware:8.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
CVE-2021-21705 https://nvd.nist.gov/vuln/detail/CVE-2021-21705
RHSA-2021:2992 https://access.redhat.com/errata/RHSA-2021:2992
RHSA-2022:1935 https://access.redhat.com/errata/RHSA-2022:1935
USN-5006-1 https://usn.ubuntu.com/5006-1/
USN-5006-2 https://usn.ubuntu.com/5006-2/
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21705.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-21705
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-21705
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2021-21705
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H Found at https://www.oracle.com/security-alerts/cpujan2022.html
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.21263
EPSS Score 0.00067
Published At June 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
There are no relevant records.