Out-of-Bounds Affecting php54-bcmath package, versions <0:5.4.40-1.68.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.8% (91st 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-1684607
  • published27 Sept 2021
  • disclosed9 Jun 2015

Introduced: 9 Jun 2015

CVE-2015-2783  (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.40-1.68.amzn1 or higher.
This issue was patched in ALAS-2015-509.

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/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to obtain sensitive information from process memory or cause a denial of service (buffer over-read and application crash) via a crafted length value in conjunction with crafted serialized data in a phar archive, related to the phar_parse_metadata and phar_parse_pharfile functions.

CVSS Scores

version 3.1