Arbitrary Code Injection Affecting php-debuginfo package, versions <0:5.3.8-3.19.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
6.25% (94th 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-PHPDEBUGINFO-1660959
  • published27 Sept 2021
  • disclosed3 Nov 2011

Introduced: 3 Nov 2011

CVE-2011-3379  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php-debuginfo to version 0:5.3.8-3.19.amzn1 or higher.
This issue was patched in ALAS-2011-7.

NVD Description

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

The is_a function in PHP 5.3.7 and 5.3.8 triggers a call to the __autoload function, which makes it easier for remote attackers to execute arbitrary code by providing a crafted URL and leveraging potentially unsafe behavior in certain PEAR packages and custom autoloaders.

CVSS Scores

version 3.1