CVE & CISA-KEV Catalog

CVE-2021-21705

MEDIUMEPSS 78th pctl
4.3
CVSS v3
NVD

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.

How to fix

Remediation Available
php7.4Debian
Fixed in:7.4.21-1+deb11u1CVE-2021-21705
libapache2-mod-php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm14USN-5006-2
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm1USN-5006-2
libapache2-mod-php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.8USN-5006-1
libapache2-mod-php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.5USN-5006-1
php5Ubuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm14USN-5006-2
php5-cgiUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm14USN-5006-2
php5-cliUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm14USN-5006-2
php5-fpmUbuntu
Fixed in:5.5.9+dfsg-1ubuntu4.29+esm14USN-5006-2
php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm1USN-5006-2
php7.0-cgiUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm1USN-5006-2
php7.0-cliUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm1USN-5006-2
php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm1USN-5006-2
php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.8USN-5006-1
php7.2-cgiUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.8USN-5006-1
php7.2-cliUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.8USN-5006-1
php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.8USN-5006-1
php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.5USN-5006-1
php7.4-cgiUbuntu
Fixed in:7.4.3-4ubuntu2.5USN-5006-1
php7.4-cliUbuntu
Fixed in:7.4.3-4ubuntu2.5USN-5006-1
php7.4-fpmUbuntu
Fixed in:7.4.3-4ubuntu2.5USN-5006-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploit Intelligence

1.94%probability of exploitation in 30 days
78thpercentile

Elevated risk: more likely to be exploited than 78% of all known CVEs.

References

Related Vulnerabilities

Other CWE-20 (Improper Input Validation) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2021-45105Medium5.9100%-Fix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2021-21985Critical9.8100%KEV + RansomFix
CVE-2018-7600Critical9.8100%KEV + RansomFix
CVE-2020-3452High7.5100%KEVFix
Embed a live status badge for CVE-2021-21705
CVE-2021-21705 severity badge

Markdown

[![CVE-2021-21705](https://tridentstack.com/cve/badge/CVE-2021-21705.svg)](https://tridentstack.com/cve/CVE-2021-21705)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-21705"><img src="https://tridentstack.com/cve/badge/CVE-2021-21705.svg" alt="CVE-2021-21705"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.