SUSE-SU-2017:3048-1

See a problem?
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2017:3048-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2017:3048-1
Related
Published
2017-11-22T15:30:27Z
Modified
2017-11-22T15:30:27Z
Summary
Security update for file
Details

The GNU file utility was updated to version 5.22.

Security issues fixed:

  • CVE-2014-9621: The ELF parser in file allowed remote attackers to cause a denial of service via a long string. (bsc#913650)
  • CVE-2014-9620: The ELF parser in file allowed remote attackers to cause a denial of service via a large number of notes. (bsc#913651)
  • CVE-2014-9653: readelf.c in file did not consider that pread calls sometimes read only a subset of the available data, which allows remote attackers to cause a denial of service (uninitialized memory access) or possibly have unspecified other impact via a crafted ELF file. (bsc#917152)
  • CVE-2014-8116: The ELF parser (readelf.c) in file allowed remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities. (bsc#910253)
  • CVE-2014-8117: softmagic.c in file did not properly limit recursion, which allowed remote attackers to cause a denial of service (CPU consumption or crash) via unspecified vectors. (bsc#910253)

Version update to file version 5.22

  • add indirect relative for TIFF/Exif
  • restructure elf note printing to avoid repeated messages
  • add note limit, suggested by Alexander Cherepanov
  • Bail out on partial pread()'s (Alexander Cherepanov)
  • Fix incorrect bounds check in file_printable (Alexander Cherepanov)
  • PR/405: ignore SIGPIPE from uncompress programs
  • change printable -> file_printable and use it in more places for safety
  • in ELF, instead of '(uses dynamic libraries)' when PT_INTERP is present print the interpreter name.

Version update to file version 5.21

  • there was an incorrect free in magicloadbuffers()
  • there was an out of bounds read for some pascal strings
  • there was a memory leak in magic lists
  • don't interpret strings printed from files using the current locale, convert them to ascii format first.
  • there was an out of bounds read in elf note reads

Update to file version 5.20

  • recognize encrypted CDF documents
  • add magicloadbuffers from Brooks Davis
  • add thumbs.db support

Additional non-security bug fixes:

  • Fixed a memory corruption during rpmbuild (bsc#1063269)
  • Backport of a fix for an increased printable string length as found in file 5.30 (bsc#996511)
  • file command throws 'Composite Document File V2 Document, corrupt: Can't read SSAT' error against excel 97/2003 file format. (bsc#1009966)
References

Affected packages

SUSE:Linux Enterprise Desktop 12 SP2 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "libmagic1-32bit": "5.22-10.3.1",
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Desktop 12 SP3 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "libmagic1-32bit": "5.22-10.3.1",
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Software Development Kit 12 SP2 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "file-devel": "5.22-10.3.1",
            "python-magic": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Software Development Kit 12 SP2 / python-magic

Package

Name
python-magic
Purl
purl:rpm/suse/python-magic&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "file-devel": "5.22-10.3.1",
            "python-magic": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Software Development Kit 12 SP3 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "file-devel": "5.22-10.3.1",
            "python-magic": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Software Development Kit 12 SP3 / python-magic

Package

Name
python-magic
Purl
purl:rpm/suse/python-magic&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "file-devel": "5.22-10.3.1",
            "python-magic": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Server 12 SP2 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "libmagic1-32bit": "5.22-10.3.1",
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Server for SAP Applications 12 SP2 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "libmagic1-32bit": "5.22-10.3.1",
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Server 12 SP3 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "libmagic1-32bit": "5.22-10.3.1",
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}

SUSE:Linux Enterprise Server for SAP Applications 12 SP3 / file

Package

Name
file
Purl
purl:rpm/suse/file&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.22-10.3.1

Ecosystem specific

{
    "binaries": [
        {
            "libmagic1-32bit": "5.22-10.3.1",
            "file-magic": "5.22-10.3.1",
            "file": "5.22-10.3.1",
            "libmagic1": "5.22-10.3.1"
        }
    ]
}