Numeric Errors Affecting php54-bcmath package, versions <0:5.4.30-1.56.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.59% (79th 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-1675192
  • published27 Sept 2021
  • disclosed9 Jul 2014

Introduced: 9 Jul 2014

CVE-2014-3479  (opens in a new tab)
CWE-189  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 php54-bcmath to version 0:5.4.30-1.56.amzn1 or higher.
This issue was patched in ALAS-2014-367.

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.

The cdf_check_stream_offset function in cdf.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, relies on incorrect sector-size data, which allows remote attackers to cause a denial of service (application crash) via a crafted stream offset in a CDF file.

CVSS Scores

version 3.1