Directory Traversal Affecting php-bcmath package, versions <0:7.4.19-4.module+el8.6.0+16316+906f6c6d


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
88.73% (99th 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS8-PHPBCMATH-3024714
  • published26 Jul 2021
  • disclosed27 Jan 2021

Introduced: 27 Jan 2021

CVE-2020-36193  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Centos:8 php-bcmath to version 0:7.4.19-4.module+el8.6.0+16316+906f6c6d or higher.

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 Centos. See How to fix? for Centos:8 relevant fixed versions and status.

Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a related issue to CVE-2020-28948.

References

CVSS Scores

version 3.1