CVE-2017-1000249 json
An issue in file() was introduced in commit 9611f31313a93aa036389c5f3b15eea53510d4d1 (Oct 2016) lets an attacker overwrite a fixed 20 bytes…
published 9y ago modified 4mo ago also EUVD-2017-1510
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- file Debian 14, Debian 13, Debian 12 1:5.32-1
debian advisories DEBIAN-CVE-2017-1000249
- file openSUSE Tumbleweed 5.40-1.14
opensuse advisories openSUSE-SU-2024:10755-1
- github.com/file/file@35c94dc commit
- github.com/file/file@9611f31 commit
Is CVE-2017-1000249 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-1000249 updated cvss 7.5
file: Stack-based buffer overflow in do_bid_note()
-
Red Hat Enterprise Linux 5 rpm, file, php53, cdrtools Red Hat Enterprise Linux 6 php, file, php-gd, php-cli, php-dba, php-fpm, +23 more Red Hat Enterprise Linux 7 php, file, php-gd, php-cli, php-dba, php-fpm, +21 more Red Hat OpenShift Enterprise 3 file Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, rh-php56-php, rh-php70-php, +102 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/file/file/commit/35c94dc6acc418f1ad7f6241a6680e5327495793
patch, third-party-advisory
-
github.com
/file/file/commit/9611f31313a93aa036389c5f3b15eea53510d4d
patch, third-party-advisory
-
debian.org
/security/2017/dsa-3965
vendor-advisory
-
security.gentoo.org
/glsa/201710-02
vendor-advisory
Sources
- CVE List CVE-2017-1000249
- NVD CVE-2017-1000249
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.