CVEvulnerability

CVE-2013-7345

5.0 MEDIUM Published 2014-03-24 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2014-03-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P

Description

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.

Affected configurations

• christos zoulas file (< 5.15) • php php (>= 5.4.0 < 5.4.27) • php php (>= 5.5.0 < 5.5.11) • debian debian linux 6.0 • debian debian linux 7.0 • debian debian linux 8.0

References