Cross-site Scripting (XSS) Affecting php7-fileinfo package, versions <7.2.5-4.12.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.46% (76th 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 Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES150-PHP7FILEINFO-2758644
  • published14 Apr 2022
  • disclosed5 Oct 2018

Introduced: 5 Oct 2018

CVE-2018-17082  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade SLES:15.0 php7-fileinfo to version 7.2.5-4.12.2 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.

The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a "Transfer-Encoding: chunked" request, because the bucket brigade is mishandled in the php_handler function in sapi/apache2handler/sapi_apache2.c.