A security issue was found in PHP in the way it allows to bypass the FILTER_VALIDATE_URL check via a crafted URL which may lead to SSRF.
Created php tracking bugs for this issue:
Affects: fedora-all [bug 1978756]
Upstream commit for this issue:
https://github.com/php/php-src/commit/4a89e726bd4d0571991dc22a9a1ad4509e8fe347 needed as dependency.
Currently php's FILTER_VALIDATE_URL check doesn't recognize some non-compliant RFC 3986 URLs and returns it as valid. This allows an attacker to craft URLs, which depending on how the URL filter checking is used in the application side, lead to Server Side Request Forgery.
This issue has been addressed in the following products:
Red Hat Software Collections for Red Hat Enterprise Linux 7
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
Via RHSA-2021:2992 https://access.redhat.com/errata/RHSA-2021:2992
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):