Access Restriction Bypass Affecting file package, versions <1:5.17-0.1


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.44% (75th percentile)
Expand this section
NVD
5.3 medium
Expand this section
Red Hat
4.3 medium

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 ID SNYK-DEBIAN10-FILE-300915
  • published 24 Mar 2014
  • disclosed 24 Mar 2014

How to fix?

Upgrade Debian:10 file to version 1:5.17-0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream file package and not the file package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

The BEGIN regular expression in the awk script detector in magic/Magdir/commands in file before 5.15 uses multiple wildcards with unlimited repetitions, which allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted ASCII file that triggers a large amount of backtracking, as demonstrated via a file with many newline characters.