CVE catalog

CVE-2017-7189

UBUNTU-CVE-2017-7189

[CVE catalog]

Severity
Unknown
Published
Updated
Source
[NVD] · [CVE record]
EPSS
2.43% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Ubuntuphp5pro5.5.3+dfsg-1ubuntu2vulnerable
Ubuntuphp5pro5.5.3+dfsg-1ubuntu3vulnerable
Ubuntuphp5pro5.5.6+dfsg-1ubuntu1vulnerable
Ubuntuphp5pro5.5.6+dfsg-1ubuntu2vulnerable
Ubuntuphp5pro5.5.8+dfsg-2ubuntu1vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu1vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu2vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu3vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.1vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.2vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.3vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.4vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.5vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.6vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.7vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.9vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.11vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.12vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.13vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.14vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.16vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.17vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.19vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.20vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.21vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.22vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.23vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.24vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.25vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.26vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.27vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm1vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm2vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm3vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm4vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm5vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm6vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm8vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm10vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm11vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm12vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm13vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm14vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm15vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm16vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm17vulnerable
Ubuntuphp5pro5.5.9+dfsg-1ubuntu4.29+esm18vulnerable
Ubuntuphp7.0pro7.0.1-5vulnerable
Ubuntuphp7.0pro7.0.1-6vulnerable
Ubuntuphp7.0pro7.0.2-1vulnerable
Ubuntuphp7.0pro7.0.2-3vulnerable
Ubuntuphp7.0pro7.0.2-4vulnerable
Ubuntuphp7.0pro7.0.2-5vulnerable
Ubuntuphp7.0pro7.0.3-2vulnerable
Ubuntuphp7.0pro7.0.3-3vulnerable
Ubuntuphp7.0pro7.0.3-9ubuntu1vulnerable
Ubuntuphp7.0pro7.0.4-5ubuntu1vulnerable
Ubuntuphp7.0pro7.0.4-5ubuntu2vulnerable
Ubuntuphp7.0pro7.0.4-7ubuntu1vulnerable
Ubuntuphp7.0pro7.0.4-7ubuntu2vulnerable
Ubuntuphp7.0pro7.0.4-7ubuntu2.1vulnerable
Ubuntuphp7.0pro7.0.8-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.8-0ubuntu0.16.04.2vulnerable
Ubuntuphp7.0pro7.0.8-0ubuntu0.16.04.3vulnerable
Ubuntuphp7.0pro7.0.13-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.15-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.15-0ubuntu0.16.04.2vulnerable
Ubuntuphp7.0pro7.0.15-0ubuntu0.16.04.4vulnerable
Ubuntuphp7.0pro7.0.18-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.22-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.25-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.28-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.30-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.32-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.1vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.2vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.3vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.4vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.5vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.6vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.7vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.9vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.11vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.12vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.14vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.15vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm1vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm2vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm3vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm4vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm5vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm6vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm7vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm8vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm9vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm10vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm11vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm12vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm13vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm14vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm15vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm16vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm17vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm18vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm19vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm20vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm21vulnerable
Ubuntuphp7.0pro7.0.33-0ubuntu0.16.04.16+esm22vulnerable
Ubuntuphp7.2pro7.2.1-1ubuntu2vulnerable
Ubuntuphp7.2pro7.2.2-1ubuntu1vulnerable
Ubuntuphp7.2pro7.2.2-1ubuntu2vulnerable
Ubuntuphp7.2pro7.2.3-1ubuntu1vulnerable
Ubuntuphp7.2pro7.2.5-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.7-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.7-0ubuntu0.18.04.2vulnerable
Ubuntuphp7.2pro7.2.10-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.15-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.15-0ubuntu0.18.04.2vulnerable
Ubuntuphp7.2pro7.2.17-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.19-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.19-0ubuntu0.18.04.2vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.1vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.2vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.3vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.4vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.6vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.7vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.8vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.9vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.10vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.11vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.12vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.13vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.15vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.16vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm1vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm2vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm3vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm4vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm5vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm6vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm7vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm8vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm9vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm10vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm11vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm12vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm13vulnerable
Ubuntuphp7.2pro7.2.24-0ubuntu0.18.04.17+esm14vulnerable
Ubuntuphp7.4pro7.4.3-4build1vulnerable
Ubuntuphp7.4pro7.4.3-4build2vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu1vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu1.1vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.2vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.4vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.5vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.6vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.7vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.8vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.9vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.10vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.11vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.12vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.13vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.15vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.16vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.17vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.18vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.19vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.20vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.22vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.23vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.24vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.26vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.28vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.29vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.29+esm1vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.29+esm2vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.29+esm3vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.29+esm4vulnerable
Ubuntuphp7.4pro7.4.3-4ubuntu2.29+esm5vulnerable
Ubuntuphp8.122.048.1.0~rc4-1ubuntu2vulnerable
Ubuntuphp8.122.048.1.0-1vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu1vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.1vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.2vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.3vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.4vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.5vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.6vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.8vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.9vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.10vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.11vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.13vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.14vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.15vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.17vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.18vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.19vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.20vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.21vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.22vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.23vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.24vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.25vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.26vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.27vulnerable
Ubuntuphp8.122.048.1.2-1ubuntu2.28vulnerable

Fixed-version evidence

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References