Linux Distros Unpatched Vulnerability : CVE-2017-7189

high Nessus Plugin ID 221400

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- 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. (CVE-2017-7189)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2017-7189

https://ubuntu.com/security/CVE-2017-7189

Plugin Details

Severity: High

ID: 221400

File Name: unpatched_CVE_2017_7189.nasl

Version: 1.2

Type: local

Agent: unix

Family: Misc.

Published: 3/4/2025

Updated: 8/20/2025

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2017-7189

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:php7.4, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:redhat:enterprise_linux:php-mbstring, p-cpe:/a:centos:centos:php-ldap, p-cpe:/a:centos:centos:php-bcmath, p-cpe:/a:redhat:enterprise_linux:php-pspell, p-cpe:/a:redhat:enterprise_linux:php-embedded, p-cpe:/a:centos:centos:php-soap, p-cpe:/a:redhat:enterprise_linux:php-fpm, p-cpe:/a:centos:centos:php-xmlrpc, p-cpe:/a:redhat:enterprise_linux:php-mysql, p-cpe:/a:redhat:enterprise_linux:php-xml, p-cpe:/a:redhat:enterprise_linux:php-bcmath, p-cpe:/a:canonical:ubuntu_linux:php5, p-cpe:/a:centos:centos:php-dba, p-cpe:/a:canonical:ubuntu_linux:php8.1, p-cpe:/a:centos:centos:php-gd, p-cpe:/a:redhat:enterprise_linux:php-cli, p-cpe:/a:redhat:enterprise_linux:php-devel, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:redhat:enterprise_linux:php-enchant, cpe:/o:centos:centos:8, p-cpe:/a:centos:centos:php-recode, p-cpe:/a:centos:centos:php-pspell, p-cpe:/a:centos:centos:php-embedded, p-cpe:/a:centos:centos:php-xml, p-cpe:/a:redhat:enterprise_linux:php, cpe:/o:redhat:enterprise_linux:8, p-cpe:/a:centos:centos:php-devel, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, p-cpe:/a:centos:centos:php-pgsql, p-cpe:/a:redhat:enterprise_linux:php-recode, p-cpe:/a:redhat:enterprise_linux:php-gd, p-cpe:/a:canonical:ubuntu_linux:php7.0, p-cpe:/a:redhat:enterprise_linux:php-mysqlnd, p-cpe:/a:redhat:enterprise_linux:php-ldap, p-cpe:/a:redhat:enterprise_linux:php-snmp, p-cpe:/a:centos:centos:php-snmp, p-cpe:/a:redhat:enterprise_linux:php-odbc, p-cpe:/a:redhat:enterprise_linux:php-xmlrpc, p-cpe:/a:centos:centos:php-mbstring, p-cpe:/a:canonical:ubuntu_linux:php7.2, p-cpe:/a:centos:centos:php-mysql, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:php, p-cpe:/a:centos:centos:php-odbc, p-cpe:/a:centos:centos:php-pdo, p-cpe:/a:redhat:enterprise_linux:php-common, cpe:/o:canonical:ubuntu_linux:16.04:-:lts, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:centos:centos:php-cli, p-cpe:/a:redhat:enterprise_linux:php-dba, p-cpe:/a:redhat:enterprise_linux:php-intl, p-cpe:/a:redhat:enterprise_linux:php-soap, p-cpe:/a:centos:centos:php-process, p-cpe:/a:centos:centos:php-intl, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:centos:centos:php-mysqlnd, p-cpe:/a:centos:centos:php-fpm, p-cpe:/a:redhat:enterprise_linux:php-pdo, p-cpe:/a:centos:centos:php-common, p-cpe:/a:centos:centos:php-enchant, p-cpe:/a:redhat:enterprise_linux:php-pgsql, p-cpe:/a:redhat:enterprise_linux:php-process

Required KB Items: Host/OS/identifier, Host/cpu, Host/local_checks_enabled, global_settings/vendor_unpatched

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 7/10/2019

Reference Information

CVE: CVE-2017-7189