Live threats

All CVEs / Php

CVE-2021-21705Php

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Oct 4, 2021
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≥ 7.3.0 < 7.3.29
phpphp≥ 7.4.0 < 7.4.21
phpphp≥ 8.0.0 < 8.0.8
netappclustered_data_ontapall
oraclesd-wan_aware8.2

Official sources

References

Links published by the sources. Open them with care.