Out-of-Bounds Affecting php54-bcmath package, versions <0:5.4.17-2.40.amzn1


Severity

Recommended
critical

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
51.32% (98th 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-PHP54BCMATH-1669690
  • published27 Sept 2021
  • disclosed13 Jul 2013

Introduced: 13 Jul 2013

CVE-2013-4113  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php54-bcmath to version 0:5.4.17-2.40.amzn1 or higher.
This issue was patched in ALAS-2013-212.

NVD Description

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

ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted document that is processed by the xml_parse_into_struct function.

CVSS Scores

version 3.1