CVE-2016-10397

Source
https://cve.org/CVERecord?id=CVE-2016-10397
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-10397.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-10397
Downstream
BELL (1)
DLA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2017-07-10T14:29:00Z
Modified
2026-10-15T02:45:07Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

In PHP before 5.6.28 and 7.x before 7.0.13, incorrect handling of various URI components in the URL parser could be used by attackers to bypass hostname-specific URL checks, as demonstrated by evil.example.com:80#@good.example.com/ and evil.example.com:80?@good.example.com/ inputs to the parse_url function (implemented in the php_url_parse_ex function in ext/standard/url.c).

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Introduced
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "5.6.27"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.0"
                },
                {
                    "last_affected": "7.0.0"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.1"
                },
                {
                    "last_affected": "7.0.1"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.2"
                },
                {
                    "last_affected": "7.0.2"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.3"
                },
                {
                    "last_affected": "7.0.3"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.4"
                },
                {
                    "last_affected": "7.0.4"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.5"
                },
                {
                    "last_affected": "7.0.5"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.6"
                },
                {
                    "last_affected": "7.0.6"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.7"
                },
                {
                    "last_affected": "7.0.7"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.8"
                },
                {
                    "last_affected": "7.0.8"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.9"
                },
                {
                    "last_affected": "7.0.9"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.10"
                },
                {
                    "last_affected": "7.0.10"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.11"
                },
                {
                    "last_affected": "7.0.11"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpe": "cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "7.0.12"
                },
                {
                    "last_affected": "7.0.12"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}

Affected versions

7.*
7.0.0
7.0.1
7.0.10
7.0.11
7.0.12
7.0.2
7.0.3
7.0.4
7.0.5
7.0.6
7.0.7
7.0.8
7.0.9
Other
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
php-5.*
php-5.6.27
php-5.6.27RC1
php-7.*
php-7.0.12

Database specific

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