Improper Input Validation Affecting php package, versions [,5.4.18)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
3.59% (88th 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 IDSNYK-UNMANAGED-PHP-2335581
  • published12 Jan 2022
  • disclosed18 Aug 2013
  • creditUnknown

Introduced: 18 Aug 2013

CVE-2013-4248  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.4.18 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

References

CVSS Base Scores

version 3.1