CVE-2018-10360
published 2018-06-11CVE-2018-10360: The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application…
PriorityP424medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
3.41%
87.5th percentile
The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | file | < file 1:5.33-3 (bookworm) | file 1:5.33-3 (bookworm) |
| debian | file | < file 1:5.35-3 (bookworm) | file 1:5.35-3 (bookworm) |
| file_project | file | — | — |
| file_project | file | — | — |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.33-3 | 1:5.33-3 |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.33-3 | 1:5.33-3 |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.33-3 | 1:5.33-3 |
| file_project | file | >= 0 < 1:5.35-3 | 1:5.35-3 |
| file_project | file | >= 0 < 1:5.33-3 | 1:5.33-3 |
| file_project | file | >= 0 < 1:5.14-2ubuntu3.4 | 1:5.14-2ubuntu3.4 |
| file_project | file | >= 0 < 1:5.25-2ubuntu1.1 | 1:5.25-2ubuntu1.1 |
| file_project | file | >= 0 < 1:5.32-2ubuntu0.1 | 1:5.32-2ubuntu0.1 |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_ubuntu7.3HIGH
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-fgjw-9ghg-j43j: The do_core_note function in readelf
ghsa_unreviewed·2022-05-14
CVE-2018-10360 [MEDIUM] CWE-125 GHSA-fgjw-9ghg-j43j: The do_core_note function in readelf
The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.
GHSA
GHSA-ffw4-28vr-p4x2: do_core_note in readelf
ghsa_unreviewed·2022-05-13·CVSS 6.5
CVE-2019-8905 [MEDIUM] CWE-125 GHSA-ffw4-28vr-p4x2: do_core_note in readelf
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.
OSV
CVE-2019-8905: do_core_note in readelf
osv·2019-02-18·CVSS 6.5
CVE-2019-8905 [MEDIUM] CVE-2019-8905: do_core_note in readelf
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.
OSV
file vulnerabilities
osv·2018-06-14·CVSS 5.0
CVE-2014-9620 [MEDIUM] file vulnerabilities
file vulnerabilities
Alexander Cherepanov discovered that file incorrectly handled a large
number of notes. An attacker could use this issue to cause a denial of
service. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9620)
Alexander Cherepanov discovered that file incorrectly handled certain long
strings. An attacker could use this issue to cause a denial of service.
This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9621)
Alexander Cherepanov discovered that file incorrectly handled certain
malformed ELF files. An attacker could use this issue to cause a denial of
service, or possibly execute arbitrary code. This issue only affected
Ubuntu 14.04 LTS. (CVE-2014-9653)
It was discovered that file incorrectly handled certain magic files. An
attacker could use this issue with a sp
OSV
CVE-2018-10360: The do_core_note function in readelf
osv·2018-06-11·CVSS 6.5
CVE-2018-10360 [MEDIUM] CVE-2018-10360: The do_core_note function in readelf
The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.
Red Hat
file: stack-based buffer over-read in do_core_note in readelf.c
vendor_redhat·2019-02-18·CVSS 6.5
CVE-2019-8905 [MEDIUM] CWE-125 file: stack-based buffer over-read in do_core_note in readelf.c
file: stack-based buffer over-read in do_core_note in readelf.c
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.
A vulnerability was found in the "File" project where a stack-based buffer over-read exists in the do_core_note function within readelf.c of libmagic.a, by using a specially crafted file the attacker could access sensitive information or cause a denial of service.
Statement: This vulnerability is rated as Moderate severity because it allows a stack-buffer over-read in the do_core_note funtion within readelf.c in libmagic.a. This issue, realted to file_printable, may lead to application crashes or exposure of sensitive information.
Package: file (Red Hat Enterpris
Debian
CVE-2019-8905: file - do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer ov...
vendor_debian·2019·CVSS 6.5
CVE-2019-8905 [MEDIUM] CVE-2019-8905: file - do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer ov...
do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.
Scope: local
bookworm: resolved (fixed in 1:5.35-3)
bullseye: resolved (fixed in 1:5.35-3)
forky: resolved (fixed in 1:5.35-3)
sid: resolved (fixed in 1:5.35-3)
trixie: resolved (fixed in 1:5.35-3)
Ubuntu
file vulnerabilities
vendor_ubuntu·2018-06-28·CVSS 7.3
CVE-2015-8865 [HIGH] file vulnerabilities
Title: file vulnerabilities
Summary: Several security issues were fixed in file.
USN-3686-1 fixed a vulnerability in file. This update provides
the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
It was discovered that file incorrectly handled certain magic files. An
attacker could use this issue with a specially crafted magic file to cause
a denial of service, or possibly execute arbitrary code. (CVE-2015-8865)
It was discovered that file incorrectly handled certain malformed ELF
files. An attacker could use this issue to cause a denial of service.
(CVE-2018-10360)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
file vulnerabilities
vendor_ubuntu·2018-06-14·CVSS 5.0
CVE-2015-8865 [MEDIUM] file vulnerabilities
Title: file vulnerabilities
Summary: Several security issues were fixed in file.
Alexander Cherepanov discovered that file incorrectly handled a large
number of notes. An attacker could use this issue to cause a denial of
service. This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9620)
Alexander Cherepanov discovered that file incorrectly handled certain long
strings. An attacker could use this issue to cause a denial of service.
This issue only affected Ubuntu 14.04 LTS. (CVE-2014-9621)
Alexander Cherepanov discovered that file incorrectly handled certain
malformed ELF files. An attacker could use this issue to cause a denial of
service, or possibly execute arbitrary code. This issue only affected
Ubuntu 14.04 LTS. (CVE-2014-9653)
It was discovered that file incorrectly handled ce
Red Hat
file: out-of-bounds read via a crafted ELF file
vendor_redhat·2018-06-09·CVSS 6.5
CVE-2018-10360 [MEDIUM] CWE-125 file: out-of-bounds read via a crafted ELF file
file: out-of-bounds read via a crafted ELF file
The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.
Package: cdrtools (Red Hat Enterprise Linux 5) - Not affected
Package: file (Red Hat Enterprise Linux 5) - Not affected
Package: php53 (Red Hat Enterprise Linux 5) - Will not fix
Package: rpm (Red Hat Enterprise Linux 5) - Not affected
Package: file (Red Hat Enterprise Linux 6) - Fix deferred
Package: php (Red Hat Enterprise Linux 6) - Fix deferred
Package: php (Red Hat Enterprise Linux 7) - Fix deferred
Package: file (Red Hat Enterprise Linux 8) - Not affected
Package: rh-php70-php (Red Hat Software Collections) - Not affected
Package: rh-php71-php
Debian
CVE-2018-10360: file - The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote ...
vendor_debian·2018·CVSS 6.5
CVE-2018-10360 [MEDIUM] CVE-2018-10360: file - The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote ...
The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.
Scope: local
bookworm: resolved (fixed in 1:5.33-3)
bullseye: resolved (fixed in 1:5.33-3)
forky: resolved (fixed in 1:5.33-3)
sid: resolved (fixed in 1:5.33-3)
trixie: resolved (fixed in 1:5.33-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-8905 file: stack-based buffer over-read in do_core_note in readelf.c
bugzilla·2019-02-20·CVSS 6.5
CVE-2019-8905 [MEDIUM] CVE-2019-8905 file: stack-based buffer over-read in do_core_note in readelf.c
CVE-2019-8905 file: stack-based buffer over-read in do_core_note in readelf.c
do_core_note in readelf.c in libmagic in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.
Upstream patch:
https://github.com/file/file/commit/d65781527c8134a1202b2649695d48d5701ac60b
References:
https://bugs.astron.com/view.php?id=63
http://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-8905.html
Discussion:
Created file tracking bugs for this issue:
Affects: fedora-all [bug 1679182]
Bugzilla
CVE-2018-10360 file: out-of-bounds read via a crafted ELF file
bugzilla·2018-06-11·CVSS 6.5
CVE-2018-10360 [MEDIUM] CVE-2018-10360 file: out-of-bounds read via a crafted ELF file
CVE-2018-10360 file: out-of-bounds read via a crafted ELF file
A flaw was found in file. The do_core_note function in readelf.c in libmagic.a in file 5.33 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted ELF file.
References:
https://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22
Discussion:
Created file tracking bugs for this issue:
Affects: fedora-all [bug 1590002]
---
do we have a reproducer for this?
---
(In reply to Karel Volný from comment #4)
> do we have a reproducer for this?
Not as far as I'm aware of. It wasn't in the report.
---
(In reply to Laura Pardo from comment #5)
> (In reply to Karel Volný from comment #4)
> > do we have a reproducer for this?
>
> Not as far as I'm aware of. I
Bugzilla
CVE-2018-10360 file: out-of-bounds read via a crafted ELF file [fedora-all]
bugzilla·2018-06-11·CVSS 6.5
CVE-2018-10360 [MEDIUM] CVE-2018-10360 file: out-of-bounds read via a crafted ELF file [fedora-all]
CVE-2018-10360 file: out-of-bounds read via a crafted ELF file [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions o
http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00027.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00053.htmlhttps://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22https://security.gentoo.org/glsa/201806-08https://usn.ubuntu.com/3686-1/https://usn.ubuntu.com/3686-2/http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00027.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00053.htmlhttps://github.com/file/file/commit/a642587a9c9e2dd7feacdf513c3643ce26ad3c22https://security.gentoo.org/glsa/201806-08https://usn.ubuntu.com/3686-1/https://usn.ubuntu.com/3686-2/
2018-06-11
Published