Vulnerability Description
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."
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 |
| Opensuse | Leap | 42.1 |
| Opensuse | Opensuse | 13.2 |
| Dosfstools Project | Dosfstools | <= 3.0.28 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html
- http://www.securityfocus.com/bid/90311
- http://www.ubuntu.com/usn/USN-2986-1
- https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-Vendor Advisory
- https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2
- https://github.com/dosfstools/dosfstools/issues/12Vendor Advisory
- https://github.com/dosfstools/dosfstools/releases/tag/v4.0Patch
- https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00001.html
- http://lists.opensuse.org/opensuse-updates/2016-09/msg00014.html
- http://www.securityfocus.com/bid/90311
- http://www.ubuntu.com/usn/USN-2986-1
- https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-Vendor Advisory
- https://github.com/dosfstools/dosfstools/commit/07908124838afcc99c577d1d3e84cef2
FAQ
What is CVE-2015-8872?
CVE-2015-8872 is a vulnerability with a CVSS score of 6.2 (MEDIUM). 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 clus...
How severe is CVE-2015-8872?
CVE-2015-8872 has been rated MEDIUM with a CVSS base score of 6.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2015-8872?
Check the references section above for vendor advisories and patch information. Affected products include: Canonical Ubuntu Linux, Opensuse Leap, Opensuse Opensuse, Dosfstools Project Dosfstools.