CVE-2016-4804
Description
The read_boot function in boot.c in dosfstools before 4.0 allows attackers to cause a denial of service (crash) via a crafted filesystem, which triggers a heap-based buffer overflow in the (1) read_fat function or an out-of-bounds heap read in (2) get_fat function.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2016-4804
Vendor advisory: cve@mitre.org — https://github.com/dosfstools/dosfstools/issues/26
Vendor advisory: cve@mitre.org — https://github.com/dosfstools/dosfstools/issues/25
Vendor advisory: cve@mitre.org — https://blog.fuzzing-project.org/44-dosfstools-fsck.vfat-Several-invalid-memory-accesses.html
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2016-4804.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 4.0-1 |
| debian | bullseye | fixed | 4.0-1 |
| debian | forky | fixed | 4.0-1 |
| debian | sid | fixed | 4.0-1 |
| debian | trixie | fixed | 4.0-1 |
| suse | 42.1 | affected | |
| suse | 13.2 | affected | |
| ubuntu | 12.04 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 15.10 | affected | |
| ubuntu | 16.04 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| dosfstools_project | dosfstools | {"endIncluding":"3.0.28"} | |
References
- https://www.suse.com/security/cve/CVE-2016-4804.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-accesses.html
- https://github.com/dosfstools/dosfstools/commit/e8eff147e9da1185f9afd5b25948153a3b97cf52
- https://github.com/dosfstools/dosfstools/issues/25
- https://github.com/dosfstools/dosfstools/issues/26
- https://lists.debian.org/debian-lts-announce/2020/05/msg00028.html
- https://security-tracker.debian.org/tracker/CVE-2016-4804
CWEs
CWE-119
Verify integrity in audit chain (admin only). AS-IS.