oss-sec mailing list archives

CVE-2021-33035: Apache OpenOffice: Buffer overflow from a crafted DBF file


From: Dave Fisher <wave () apache org>
Date: Thu, 07 Oct 2021 15:15:30 +0000

Severity: high

Description:

Apache OpenOffice opens dBase/DBF documents and shows the contents as spreadsheets.  DBF are database files with data 
organized in fields.  When reading DBF data the size of certain fields is not checked: the data is just copied into 
local variables. A carefully crafted document could overflow the allocated space, leading to the execution of arbitrary 
code by altering the contents of the program stack.  

This issue affects Apache OpenOffice up to and including version 4.1.10

This issue is fixed in Apache OpenOffice 4.1.11


Credit:

Apache OpenOffice would like to thank Eugene Lim, Government Technology Agency of Singapore for reporting this issue.

References:

https://github.com/apache/openoffice/commit/efddaef0151af3be16078cc4d88c6bae0f911e56#diff-ea66e734dd358922aba12ad4ba39c96bdc6cbde587d07dbc63d04daa0a30e90f


Current thread: