NULL Pointer Dereference Affecting php-tidy package, versions <0:5.3.3-27.el6_5.2


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.98% (85th 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 NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL6-PHPTIDY-1485853
  • published26 Jul 2021
  • disclosed13 Mar 2014

Introduced: 13 Mar 2014

CVE-2014-2497  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade RHEL:6 php-tidy to version 0:5.3.3-27.el6_5.2 or higher.
This issue was patched in RHSA-2014:1326.

NVD Description

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

The gdImageCreateFromXpm function in gdxpm.c in libgd, as used in PHP 5.4.26 and earlier, allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted color table in an XPM file.

CVSS Scores

version 3.1