CVE-2015-8872
The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service (invalid memory read and crash) by writing an odd number of clusters to the third to last entry on a FAT12 filesystem, which triggers an "off-by-two error."
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | dosfstools | Fixed | 3.0.28-2ubuntu0.1 | UBUNTU-CVE-2015-8872 |
| Ubuntu 14.04 | dosfstools | Fixed | 3.0.26-1ubuntu0.1 | UBUNTU-CVE-2015-8872 |
| Debian 14 | dosfstools | Fixed | 4.0-1 | DEBIAN-CVE-2015-8872 |
| Debian 13 | dosfstools | Fixed | 4.0-1 | DEBIAN-CVE-2015-8872 |
| Debian 12 | dosfstools | Fixed | 4.0-1 | DEBIAN-CVE-2015-8872 |
| Red Hat Enterprise Linux 7 | dosfstools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | dosfstools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | dosfstools | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2986-1 (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html (vendor-advisory)
References
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html
- https://github.com/dosfstools/dosfstools/releases/tag/v4.0
- https://github.com/dosfstools/dosfstools/issues/12
- https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html
- http://www.ubuntu.com/usn/USN-2986-1
- https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2dbd39cb7
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html
- http://www.securityfocus.com/bid/90311
- https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.