Authors:ClusterFuzz Risk:High CVE:CVE-2018-10119 0day:Denial of Service 0day-id:0DAY-10119 Date:2018-04-16
Description
sot/source/sdstor/stgstrms.cxx in LibreOffice before 5.4.5.1 and 6.x before 6.0.1.1 uses an incorrect integer data type in the StgSmallStrm class, which allows remote attackers to cause a denial of service (use-after-free with write access) or possibly have unspecified other impact via a crafted document.
Analysis
libreoffice/olefuzzer: Heap-use-after-free in StgDataStrm::Read
Detailed report: https://oss-fuzz.com/testcase?key=5099622398689280 Project: libreoffice Fuzzer: libFuzzer_libreoffice_olefuzzer Fuzz target binary: olefuzzer Job Type: libfuzzer_asan_libreoffice Platform Id: linux Crash Type: Heap-use-after-free WRITE 1 Crash Address: 0x631000430800 Crash State: StgDataStrm::Read StgSmallStrm::Read StgDirEntry::Read Sanitizer: address (ASAN) Recommended Security Severity: High Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_libreoffice&range=201703141338:201703141931 Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5099622398689280 Issue filed automatically. See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information. This bug is subject to a 90 day disclosure deadline. If 90 days elapse without an upstream patch, then the bug report will automatically become visible to the public. When you fix this bug, please * mention the fix revision(s). * state whether the bug was a short-lived regression or an old bug in any stable releases. * add any other useful information. This information can help downstream consumers. If you have questions for the OSS-Fuzz team, please file an issue at https://github.com/google/oss-fuzz/issues.
FIX
ClusterFuzz has detected this issue as fixed in range 201801280621:201801290617.
ClusterFuzz has detected this issue as fixed in range 201801280621:201801290617. Detailed report: https://oss-fuzz.com/testcase?key=5099622398689280 Project: libreoffice Fuzzer: libFuzzer_libreoffice_olefuzzer Fuzz target binary: olefuzzer Job Type: libfuzzer_asan_libreoffice Platform Id: linux Crash Type: Heap-use-after-free WRITE 1 Crash Address: 0x631000430800 Crash State: StgDataStrm::Read StgSmallStrm::Read StgDirEntry::Read Sanitizer: address (ASAN) Recommended Security Severity: High Regressed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_libreoffice&range=201703141338:201703141931 Fixed: https://oss-fuzz.com/revisions?job=libfuzzer_asan_libreoffice&range=201801280621:201801290617 Reproducer Testcase: https://oss-fuzz.com/download?testcase_id=5099622398689280 See https://github.com/google/oss-fuzz/blob/master/docs/reproducing.md for more information. If you suspect that the result above is incorrect, try re-doing that job on the test case report page.