PT-2014-1911 · File+3 · File+3

Carsten Wolff

·

Published

2014-03-23

·

Updated

2024-06-15

·

CVE-2013-7345

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:N/I:N/A:P
Name of the Vulnerable Software and Affected Versions file versions prior to 5.15
Description The issue concerns multiple vulnerabilities in the file package that can lead to a denial of service, potentially disrupting the availability of protected information. Exploitation of these vulnerabilities can be achieved remotely. Specifically, the BEGIN regular expression in the awk script detector uses multiple wildcards with unlimited repetitions, allowing context-dependent attackers to cause a denial of service via a crafted ASCII file that triggers excessive backtracking, such as a file containing many newline characters.
Recommendations For versions prior to 5.15, update to version 5.15 or later to resolve the issue. As a temporary workaround, consider restricting the use of the awk script detector in the magic/Magdir/commands directory to minimize the risk of exploitation. Avoid using the vulnerable BEGIN regular expression in the awk script detector until the issue is resolved.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

BDU:2015-09777
CESA-2014_1013
CVE-2013-7345
DSA-2873-1
DSA-3064-1
MGASA-2014-0142
MGASA-2014-0178
OPENSUSE-SU-2024:10290-1
OPENSUSE-SU-2024:10344-1
OPENSUSE-SU-2024:11169-1
RHSA-2014:1013
RHSA-2014:1765
RHSA-2014_1013
USN-2278-1

Affected Products

Centos
Red Hat
Ubuntu
File