Arbitrary Code Injection Affecting php7-fileinfo package, versions <7.2.5-4.49.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.2% (58th 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-SLES150-PHP7FILEINFO-2718711
  • published14 Apr 2022
  • disclosed14 Jan 2020

Introduced: 14 Jan 2020

CVE-2019-11045  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 php7-fileinfo to version 7.2.5-4.49.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php7-fileinfo package and not the php7-fileinfo package as distributed by SLES. See How to fix? for SLES:15.0 relevant fixed versions and status.

In PHP versions 7.2.x below 7.2.26, 7.3.x below 7.3.13 and 7.4.0, PHP DirectoryIterator class accepts filenames with embedded \0 byte and treats them as terminating at that byte. This could lead to security vulnerabilities, e.g. in applications checking paths that the code is allowed to access.

CVSS Scores

version 3.1