Stack-based Buffer Overflow Affecting php-tidy package, versions <0:5.3.3-3.el6_1.3


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
1.86% (89th 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-RHEL6-PHPTIDY-1433529
  • published26 Jul 2021
  • disclosed23 May 2011

Introduced: 23 May 2011

CVE-2011-1938  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:6 php-tidy to version 0:5.3.3-3.el6_1.3 or higher.
This issue was patched in RHSA-2011:1423.

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.

Stack-based buffer overflow in the socket_connect function in ext/sockets/sockets.c in PHP 5.3.3 through 5.3.6 might allow context-dependent attackers to execute arbitrary code via a long pathname for a UNIX socket.

CVSS Scores

version 3.1