Bug 1488053 (CVE-2017-1000249) - CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note()
Summary: CVE-2017-1000249 file: Stack-based buffer overflow in do_bid_note()
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-1000249
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1488575
Blocks: 1488057
TreeView+ depends on / blocked
 
Reported: 2017-09-04 08:20 UTC by Adam Mariš
Modified: 2021-02-17 01:38 UTC (History)
18 users (show)

Fixed In Version: file 5.32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-06 01:17:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-09-04 08:20:22 UTC
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

Comment 1 Adam Mariš 2017-09-04 08:20:25 UTC
Acknowledgments:

Name: Thomas Jarosch (Intra2net AG)

Comment 2 Andrej Nemec 2017-09-05 18:02:41 UTC
References:

http://seclists.org/oss-sec/2017/q3/397

Comment 3 Andrej Nemec 2017-09-05 18:03:06 UTC
Created file tracking bugs for this issue:

Affects: fedora-all [bug 1488575]


Note You need to log in before you can comment on or make changes to this bug.