The readboot 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) readfat function or an out-of-bounds heap read in (2) get_fat function.
[
{
"id": "CVE-2016-4804-09e237fb",
"target": {
"file": "src/fsck.fat.h"
},
"source": "https://github.com/dosfstools/dosfstools/commit/e8eff147e9da1185f9afd5b25948153a3b97cf52",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"255238865409327844582568164948428438254",
"296336368702393128014096494827826443096",
"249431492176246829047427151907692272903",
"282019438315538498064837545060089201378"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2016-4804-3c4fdeb9",
"target": {
"file": "src/boot.c"
},
"source": "https://github.com/dosfstools/dosfstools/commit/e8eff147e9da1185f9afd5b25948153a3b97cf52",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123893220649092854101338150332848489365",
"246076588014694744016441002376821606785",
"234652834558211004894120601838777277930",
"37782068935701612668410896084110296969",
"62940619999127294059429895112190215076",
"184447703702203650960308840146322049230",
"58277623227777508570917265192641940546",
"9106026769713263517168966196591652612",
"314301353423495558072457380159332437364",
"309025116302605566367662688958809107069",
"6560462551031292577615086526307401300",
"73662561019436316449091922791231850662",
"303579489349651633726667624743072950613",
"212272853399085334098005315932532203058",
"24249371459950878624002050742472740",
"250262124380751608593672336401196944913",
"22759964055712584824017748468580141889",
"194504094987571186023832553265535138106",
"196753350449575500786119988144394279357",
"32012460471004387715938225234746519476"
]
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2016-4804-967aa689",
"target": {
"function": "dump_boot",
"file": "src/boot.c"
},
"source": "https://github.com/dosfstools/dosfstools/commit/e8eff147e9da1185f9afd5b25948153a3b97cf52",
"signature_type": "Function",
"digest": {
"function_hash": "77701543821825306139960602256486180703",
"length": 2283.0
},
"deprecated": false,
"signature_version": "v1"
},
{
"id": "CVE-2016-4804-f2fc88f6",
"target": {
"function": "read_boot",
"file": "src/boot.c"
},
"source": "https://github.com/dosfstools/dosfstools/commit/e8eff147e9da1185f9afd5b25948153a3b97cf52",
"signature_type": "Function",
"digest": {
"function_hash": "157353839392065048035445465538445571550",
"length": 4476.0
},
"deprecated": false,
"signature_version": "v1"
}
]