Skip to content
Fencer Vulns
high 7.8

CVE-2022-38745 json

Apache OpenOffice: Empty entry in Java class path

published 2023-03-24 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-41312

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 59%
public exploits
0
none known

Summary

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.

Patch / fix

  • Apache Software Foundation Apache OpenOffice 4.1.14
  • libreoffice Debian 14, Debian 13, Debian 12 1:7.3.1-1

debian advisories DEBIAN-CVE-2022-38745

  • libreoffice Ubuntu 18.04 LTS 1:6.0.7-0ubuntu0.18.04.13
  • libreoffice Ubuntu 20.04 LTS 1:6.4.7-0ubuntu0.20.04.7

ubuntu advisories UBUNTU-CVE-2022-38745

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libreoffice RHEL 8 1:6.4.7.2-15.el8
  • autocorr-af RHEL 8 1:6.4.7.2-15.el8
  • autocorr-bg RHEL 8 1:6.4.7.2-15.el8
  • autocorr-ca RHEL 8 1:6.4.7.2-15.el8
  • autocorr-cs RHEL 8 1:6.4.7.2-15.el8
  • autocorr-da RHEL 8 1:6.4.7.2-15.el8
  • autocorr-de RHEL 8 1:6.4.7.2-15.el8
  • autocorr-en RHEL 8 1:6.4.7.2-15.el8

red hat advisories RHSA-2023:6933RHSA-2023:6508

  • libreoffice AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-af AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-bg AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-ca AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-cs AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-da AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-de AlmaLinux 8 1:6.4.7.2-15.el8.alma
  • autocorr-en AlmaLinux 8 1:6.4.7.2-15.el8.alma

almalinux advisories ALSA-2023:6933ALSA-2023:6508

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-38745 updated cvss 7.8

libreoffice: Empty entry in Java class path

  • Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 more Red Hat Enterprise Linux 7 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +105 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +98 more Red Hat Enterprise Linux 9 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +101 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 8) libreoffice-sdk 6.4.7.2-15.el8
    fixed: vendor fix RHSA-2023:6933
  • Red Hat CodeReady Linux Builder (v. 9) libreoffice-sdk 7.1.8.1-11.el9
    fixed: vendor fix RHSA-2023:6508
  • Red Hat Enterprise Linux AppStream (v. 8) autocorr-af 6.4.7.2-15.el8, autocorr-bg 6.4.7.2-15.el8, autocorr-ca 6.4.7.2-15.el8, autocorr-cs 6.4.7.2-15.el8, autocorr-da 6.4.7.2-15.el8, autocorr-de 6.4.7.2-15.el8, +95 more
    fixed: vendor fix RHSA-2023:6933
  • Red Hat Enterprise Linux AppStream (v. 9) autocorr-af 7.1.8.1-11.el9, autocorr-bg 7.1.8.1-11.el9, autocorr-ca 7.1.8.1-11.el9, autocorr-cs 7.1.8.1-11.el9, autocorr-da 7.1.8.1-11.el9, autocorr-de 7.1.8.1-11.el9, +100 more
    fixed: vendor fix RHSA-2023:6508

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
20 mo ago

Exploit prediction

0.87% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

  • Apache Software Foundation Apache OpenOffice

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-1188 Initialization of a Resource with an Insecure Default
  • CWE-427 Uncontrolled Search Path Element

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.