Server-Side Request Forgery (SSRF) Affecting php-common package, versions *


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.26% (67th percentile)

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 Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-PHPCOMMON-1984364
  • published26 Jul 2021
  • disclosed27 Mar 2017

Introduced: 27 Mar 2017

CVE-2017-7272  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 php-common.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-common package and not the php-common package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

PHP through 7.1.11 enables potential SSRF in applications that accept an fsockopen or pfsockopen hostname argument with an expectation that the port number is constrained. Because a :port syntax is recognized, fsockopen will use the port number that is specified in the hostname argument, instead of the port number in the second argument of the function.