Improper Input Validation Affecting php7.4 package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UBUNTU2004-PHP74-2414883
- published 24 Jul 2019
- disclosed 10 Jul 2019
Introduced: 10 Jul 2019
CVE-2017-7189 Open this link in a new tabHow to fix?
There is no fixed version for Ubuntu:20.04 php7.4.
NVD Description
Note: Versions mentioned in the description apply only to the upstream php7.4 package and not the php7.4 package as distributed by Ubuntu.
See How to fix? for Ubuntu:20.04 relevant fixed versions and status.
main/streams/xp_socket.c in PHP 7.x before 2017-03-07 misparses fsockopen calls, such as by interpreting fsockopen('127.0.0.1:80', 443) as if the address/port were 127.0.0.1:80:443, which is later truncated to 127.0.0.1:80. This behavior has a security risk if the explicitly provided port number (i.e., 443 in this example) is hardcoded into an application as a security policy, but the hostname argument (i.e., 127.0.0.1:80 in this example) is obtained from untrusted input.