dosfstools / fsck.vfat: Several invalid memory accesses
I lately fuzzed various filesystem check tools. This uncovered a number of issues in dosfstools / fsck.fat that have now been fixed in the new version 4.0. All issues were found with american fuzzy lop and address sanitizer.
Global out of bounds read file_stat() / check_dir()
Git commit / fix
Unclear invalid memory access in get_fat()
Git commit / fix
CVE-2015-8872
Heap overflow in read_fat()
Heap out of bounds read in get_fat()
Git commit / fix for both issues
CVE-2016-4804
These bugs can pose a security risk if a system automatically checks attached storage media with fsck or in situations where filesystems on untrusted devices get checked. The new version dosfstools 4.0 fixes all four bugs.
Global out of bounds read file_stat() / check_dir()
Git commit / fix
Unclear invalid memory access in get_fat()
Git commit / fix
CVE-2015-8872
Heap overflow in read_fat()
Heap out of bounds read in get_fat()
Git commit / fix for both issues
CVE-2016-4804
These bugs can pose a security risk if a system automatically checks attached storage media with fsck or in situations where filesystems on untrusted devices get checked. The new version dosfstools 4.0 fixes all four bugs.
Comments
Display comments as Linear | Threaded