CVE-2017-1000249
published 2017-09-11CVE-2017-1000249: An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a…
PriorityP424medium5.5CVSS 3.0
AVLACLPRLUINSUCNIHAN
EPSS
0.40%
32.7th percentile
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | file | < file 1:5.32-1 (bookworm) | file 1:5.32-1 (bookworm) |
| file_project | file | — | — |
| file_project | file | >= 0 < 1:5.32-1 | 1:5.32-1 |
| file_project | file | >= 0 < 1:5.32-1 | 1:5.32-1 |
| file_project | file | >= 0 < 1:5.32-1 | 1:5.32-1 |
| file_project | file | >= 0 < 1:5.32-1 | 1:5.32-1 |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:P/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.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.
Ubuntu
file vulnerability
vendor_ubuntu·2017-09-07
CVE-2017-1000249 file vulnerability
Title: file vulnerability
Summary: The file utility could be made to crash if it opened a specially
crafted file.
Thomas Jarosch discovered that file incorrectly handled certain ELF
files. An attacker could use this to cause file to crash, resulting
in a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
file: Stack-based buffer overflow in do_bid_note()
vendor_redhat·2017-09-05·CVSS 5.5
CVE-2017-1000249 [MEDIUM] CWE-121 file: Stack-based buffer overflow in do_bid_note()
file: Stack-based buffer overflow in do_bid_note()
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
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) - Not affected
Package: rpm (Red Hat Enterprise Linux 5) - Not affected
Package: file (Red Hat Enterprise Linux 6) - Not affected
Package: php (Red Hat Enterprise Linux 6) - Not affected
Package: file (Red Hat Enterprise Linux 7) - Not affected
Package: php (Red Hat Enterprise Linux 7)
Debian
CVE-2017-1000249: file - An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510...
vendor_debian·2017·CVSS 5.5
CVE-2017-1000249 [MEDIUM] CVE-2017-1000249: file - An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510...
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
Scope: local
bookworm: resolved (fixed in 1:5.32-1)
bullseye: resolved (fixed in 1:5.32-1)
forky: resolved (fixed in 1:5.32-1)
sid: resolved (fixed in 1:5.32-1)
trixie: resolved (fixed in 1:5.32-1)
GHSA
GHSA-7wwh-xwjg-8qfp: An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buff
ghsa_unreviewed·2022-05-17
CVE-2017-1000249 [MEDIUM] CWE-119 GHSA-7wwh-xwjg-8qfp: An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buff
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
OSV
CVE-2017-1000249: An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buff
osv·2017-09-11·CVSS 5.5
CVE-2017-1000249 [MEDIUM] CVE-2017-1000249: An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buff
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes stack buffer with a specially crafted .notes section in an ELF binary. This was fixed in commit 35c94dc6acc418f1ad7f6241a6680e5327495793 (Aug 2017).
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note() [fedora-all]
bugzilla·2017-09-05·CVSS 5.5
CVE-2017-1000249 [MEDIUM] CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note() [fedora-all]
CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note() [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 versi
Bugzilla
CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note()
bugzilla·2017-09-04·CVSS 5.5
CVE-2017-1000249 [MEDIUM] CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note()
CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note()
A stack-based buffer overflow in do_bid_note() function on readelf.c was found allowing the attacker to overwrite a fixed 20 bytes stack buffer with specially crafted .notes section in ELF binary.
Upstream patch:
https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
Introduced by commit:
https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d1
Discussion:
Acknowledgments:
Name: Thomas Jarosch (Intra2net AG)
---
References:
http://seclists.org/oss-sec/2017/q3/397
---
Created file tracking bugs for this issue:
Affects: fedora-all [bug 1488575]
http://www.debian.org/security/2017/dsa-3965https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4dhttps://security.gentoo.org/glsa/201710-02http://www.debian.org/security/2017/dsa-3965https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4dhttps://security.gentoo.org/glsa/201710-02
2017-09-11
Published