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.
Published: 2014-03-23
Score: 5.0 Medium
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-67-1 php5 security update
Debian DSA Debian DSA DSA-3008-1 php5 security update
Debian DSA Debian DSA DSA-3008-2 php5 regression update
EUVD EUVD EUVD-2013-7117 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.
Ubuntu USN Ubuntu USN USN-2278-1 file vulnerabilities
History

No history.

Subscriptions

Christos Zoulas File
Debian Debian Linux
Php Php
Redhat Enterprise Linux Rhel Software Collections
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T18:01:20.506Z

Reserved: 2014-03-23T00:00:00.000Z

Link: CVE-2013-7345

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2014-03-24T16:31:08.167

Modified: 2026-05-06T22:30:45.220

Link: CVE-2013-7345

cve-icon Redhat

Severity : Moderate

Publid Date: 2011-12-31T00:00:00Z

Links: CVE-2013-7345 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses