CVE-2021-21705

Source
https://cve.org/CVERecord?id=CVE-2021-21705
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21705.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21705
Aliases
Downstream
Related
Published
2021-10-04T04:15:08.210Z
Modified
2026-06-18T03:56:36.197892043Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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 filtervar() function with FILTERVALIDATE_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.

Database specific
{
    "unresolved_ranges": [
        {
            "vendor_product": "oracle:sd-wan_aware",
            "extracted_events": [
                {
                    "last_affected": "8.2"
                }
            ],
            "cpes": [
                "cpe:2.3:a:oracle:sd-wan_aware:8.2:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "7.3.0"
        },
        {
            "fixed": "7.3.29"
        },
        {
            "introduced": "7.4.0"
        },
        {
            "fixed": "7.4.21"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.0.8"
        }
    ],
    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21705.json"