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:08Z
Modified
2026-07-07T08:51:40Z
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 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.

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

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
    "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"
        }
    ],
    "source":  "CPE_RANGE"
}

Database specific

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