CVE-2022-38745 Apache OpenOffice: Empty entry in Java class path

High 7.8 Published Updated

Attackers can execute arbitrary Java code if OpenOffice is configured with an empty Java class path entry, allowing code execution from the current directory.

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-2022-38745?

CVE-2022-38745 is a high-severity code injection vulnerability in Apache Openoffice, published on 24 Mar 2023. 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 versions before 4.1.14 may be configured to add an empty entry to the Java class path. This may lead to run arbitrary Java code from the current directory.

Weakness: CWE-94, CWE-427, CWE-1188

Which versions are affected by CVE-2022-38745?

It affects 1 product.

Products include Apache Openoffice.

How do I fix CVE-2022-38745?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-38745 being exploited?

There is no known exploitation of CVE-2022-38745 in the wild and no public exploit code.

All Apache Openoffice vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-38745, GHSA-w32v-x9j2-mv46, UBUNTU-CVE-2022-38745, USN-6023-1.

Is CVE-2022-38745 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free