{ "schema_version": "1.4.0", "id": "GHSA-25h5-rq96-q5mq", "modified": "2025-04-20T03:40:30Z", "published": "2022-05-14T03:50:14Z", "aliases": [ "CVE-2016-10397" ], "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).", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" } ], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10397" }, { "type": "WEB", "url": "https://bugs.php.net/bug.php?id=73192" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20180112-0001" }, { "type": "WEB", "url": "http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4" }, { "type": "WEB", "url": "http://git.php.net/?p=php-src.git;a=commit;h=b061fa909de77085d3822a89ab901b934d0362c4" }, { "type": "WEB", "url": "http://openwall.com/lists/oss-security/2017/07/10/6" }, { "type": "WEB", "url": "http://php.net/ChangeLog-5.php" }, { "type": "WEB", "url": "http://php.net/ChangeLog-7.php" }, { "type": "WEB", "url": "http://www.securityfocus.com/bid/99552" } ], "database_specific": { "cwe_ids": [ "CWE-20" ], "severity": "HIGH", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2017-07-10T14:29:00Z" } }