UBUNTU-CVE-2013-7345

Source
https://ubuntu.com/security/CVE-2013-7345
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2013/UBUNTU-CVE-2013-7345.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2013-7345
Related
Published
2014-03-24T00:00:00Z
Modified
2014-03-24T00:00:00Z
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:14.04:LTS / file

Package

Name
file
Purl
pkg:deb/ubuntu/file?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:5.14-2ubuntu3.1

Affected versions

5.*

5.11-2ubuntu4

1:5.*

1:5.14-2ubuntu1
1:5.14-2ubuntu2
1:5.14-2ubuntu3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1:5.14-2ubuntu3.1",
            "binary_name": "file"
        },
        {
            "binary_version": "1:5.14-2ubuntu3.1",
            "binary_name": "file-dbg"
        },
        {
            "binary_version": "1:5.14-2ubuntu3.1",
            "binary_name": "libmagic-dev"
        },
        {
            "binary_version": "1:5.14-2ubuntu3.1",
            "binary_name": "libmagic1"
        },
        {
            "binary_version": "1:5.14-2ubuntu3.1",
            "binary_name": "python-magic"
        },
        {
            "binary_version": "1:5.14-2ubuntu3.1",
            "binary_name": "python3-magic"
        }
    ]
}