CVE-2021-33035 Buffer overflow from a crafted DBF file
A buffer overflow in Apache OpenOffice allows arbitrary code execution when opening a crafted DBF file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-33035?
CVE-2021-33035 is a high-severity memory corruption vulnerability in Apache Openoffice, published on 23 Sep 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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
Weakness: CWE-120
Which versions are affected by CVE-2021-33035?
It affects 1 product.
Products include Apache Openoffice.
How do I fix CVE-2021-33035?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-33035 being exploited?
There is no known exploitation of CVE-2021-33035 in the wild and no public exploit code.
Other vulnerabilities in Apache Openoffice
Sources
Also known as DEBIAN-CVE-2021-33035, GHSA-p57v-vh5w-35p2.