CVE-2017-1000249
What it is
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).
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data tampering.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- File Project File 5.29
Attack profile CVSS 3.0 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2017-1000249.md and follow it. Check whether this project is affected by CVE-2017-1000249. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
- https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d
- https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
- https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d
References
- http://www.debian.org/security/2017/dsa-3965
- https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
- https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d
- https://security.gentoo.org/glsa/201710-02
- http://www.debian.org/security/2017/dsa-3965
- https://github.com/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
- https://github.com/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d
- https://security.gentoo.org/glsa/201710-02