CVE-2011-3182 Affecting php-devel package, versions <0:5.3.8-3.19.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.88% (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-AMZN201803-PHPDEVEL-1660868
  • published27 Sept 2021
  • disclosed25 Aug 2011

Introduced: 25 Aug 2011

CVE-2011-3182  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php-devel 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-devel package and not the php-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

PHP before 5.3.7 does not properly check the return values of the malloc, calloc, and realloc library functions, which allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) or trigger a buffer overflow by leveraging the ability to provide an arbitrary value for a function argument, related to (1) ext/curl/interface.c, (2) ext/date/lib/parse_date.c, (3) ext/date/lib/parse_iso_intervals.c, (4) ext/date/lib/parse_tz.c, (5) ext/date/lib/timelib.c, (6) ext/pdo_odbc/pdo_odbc.c, (7) ext/reflection/php_reflection.c, (8) ext/soap/php_sdl.c, (9) ext/xmlrpc/libxmlrpc/base64.c, (10) TSRM/tsrm_win32.c, and (11) the strtotime function.

CVSS Scores

version 3.1