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.
Published: 2021-10-04
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2708-1 php7.0 security update
Debian DSA Debian DSA DSA-4935-1 php7.3 security update
EUVD EUVD EUVD-2021-8877 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.
Ubuntu USN Ubuntu USN USN-5006-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-5006-2 PHP vulnerabilities
History

No history.

Subscriptions

Netapp Clustered Data Ontap
Oracle Sd-wan Aware
Php Php
Redhat Enterprise Linux Rhel Software Collections
cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2024-09-17T04:09:29.556Z

Reserved: 2021-01-04T00:00:00.000Z

Link: CVE-2021-21705

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-10-04T04:15:08.210

Modified: 2024-11-21T05:48:52.327

Link: CVE-2021-21705

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-07-01T00:00:00Z

Links: CVE-2021-21705 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses