Deserialization of Untrusted Data Affecting php-bcmath package, versions <0:7.4.19-4.module+el8.6.0+1006+0d5a469f


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
6.78% (95th 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 Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-PHPBCMATH-3197127
  • published5 Jan 2023
  • disclosed19 Nov 2020

Introduced: 19 Nov 2020

CVE-2020-28948  (opens in a new tab)
CWE-502  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 php-bcmath to version 0:7.4.19-4.module+el8.6.0+1006+0d5a469f or higher.
This issue was patched in RLSA-2022:6542.

NVD Description

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

Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.

References

CVSS Scores

version 3.1