UBUNTU-CVE-2017-7189

    Dashboard / Vulnerabilities / UBUNTU-CVE-2017-7189

    UBUNTU-CVE-2017-7189

    Published: 10 Jul 2019Last Modified: 10 Sept 2026
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: php5

    Purl: pkg:deb/ubuntu/php5?arch=source&distro=esm-infra-legacy%2Ftrusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    5.5.3+dfsg-1ubuntu2
    5.5.3+dfsg-1ubuntu3
    5.5.6+dfsg-1ubuntu1
    5.5.6+dfsg-1ubuntu2
    5.5.8+dfsg-2ubuntu1
    5.5.9+dfsg-1ubuntu1
    5.5.9+dfsg-1ubuntu2
    5.5.9+dfsg-1ubuntu3
    5.5.9+dfsg-1ubuntu4
    5.5.9+dfsg-1ubuntu4.1
    5.5.9+dfsg-1ubuntu4.2
    5.5.9+dfsg-1ubuntu4.3
    5.5.9+dfsg-1ubuntu4.4
    5.5.9+dfsg-1ubuntu4.5
    5.5.9+dfsg-1ubuntu4.6
    5.5.9+dfsg-1ubuntu4.7
    5.5.9+dfsg-1ubuntu4.9
    5.5.9+dfsg-1ubuntu4.11
    5.5.9+dfsg-1ubuntu4.12
    5.5.9+dfsg-1ubuntu4.13
    5.5.9+dfsg-1ubuntu4.14
    5.5.9+dfsg-1ubuntu4.16
    5.5.9+dfsg-1ubuntu4.17
    5.5.9+dfsg-1ubuntu4.19
    5.5.9+dfsg-1ubuntu4.20
    5.5.9+dfsg-1ubuntu4.21
    5.5.9+dfsg-1ubuntu4.22
    5.5.9+dfsg-1ubuntu4.23
    5.5.9+dfsg-1ubuntu4.24
    5.5.9+dfsg-1ubuntu4.25
    5.5.9+dfsg-1ubuntu4.26
    5.5.9+dfsg-1ubuntu4.27
    5.5.9+dfsg-1ubuntu4.29
    5.5.9+dfsg-1ubuntu4.29+esm1
    5.5.9+dfsg-1ubuntu4.29+esm2
    5.5.9+dfsg-1ubuntu4.29+esm3
    5.5.9+dfsg-1ubuntu4.29+esm4
    5.5.9+dfsg-1ubuntu4.29+esm5
    5.5.9+dfsg-1ubuntu4.29+esm6
    5.5.9+dfsg-1ubuntu4.29+esm8
    5.5.9+dfsg-1ubuntu4.29+esm10
    5.5.9+dfsg-1ubuntu4.29+esm11
    5.5.9+dfsg-1ubuntu4.29+esm12
    5.5.9+dfsg-1ubuntu4.29+esm13
    5.5.9+dfsg-1ubuntu4.29+esm14
    5.5.9+dfsg-1ubuntu4.29+esm15
    5.5.9+dfsg-1ubuntu4.29+esm16

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High