Use of Uninitialized Resource Affecting php package, versions [7.1.0,7.1.30)[7.2.0,7.2.19)[7.3.0,7.3.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (73rd 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-2335523
  • published12 Jan 2022
  • disclosed19 Jun 2019
  • creditUnknown

Introduced: 19 Jun 2019

CVE-2019-11038  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade php to version 7.1.30, 7.2.19, 7.3.6 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource. When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.

CVSS Scores

version 3.1