Skip to content
OpenAdvisories
Unscored CVE-2022-3140 EUVD-2022-42567GHSA-6ggr-6xf8-p64w

Macro URL arbitrary script execution

Published Oct 11, 2022 · Updated Aug 3, 2024 · Assigned by Document Fdn.

Description

LibreOffice supports Office URI Schemes to enable browser integration of LibreOffice with MS SharePoint server. An additional scheme 'vnd.libreoffice.command' specific to LibreOffice was added. In the affected versions of LibreOffice links using that scheme could be constructed to call internal macros with arbitrary arguments. Which when clicked on, or activated by document events, could result in arbitrary script execution without warning. This issue affects: The Document Foundation LibreOffice 7.4 versions prior to 7.4.1; 7.3 versions prior to 7.3.6.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 7.4 – < 7.4.1, 7.3 – < 7.3.6 7.4.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 1:7.4.1~rc2-3 —
Debian 13 libreoffice 1:7.4.1~rc2-3 —
Debian 12 libreoffice 1:7.4.1~rc2-3 —
Debian 11 libreoffice 1:7.0.4-4+deb11u4 DSA-5252-1
Debian 10 libreoffice 1:6.1.5-3+deb10u8 DLA-3368-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS libreoffice 1:7.3.6-0ubuntu0.22.04.2 USN-5694-1
Ubuntu 20.04 LTS libreoffice 1:6.4.7-0ubuntu0.20.04.6 USN-5694-1
Ubuntu 18.04 LTS libreoffice 1:6.0.7-0ubuntu0.18.04.12 USN-5694-1
ReleasePackageFixed inAdvisory
RHEL 9 autocorr-af +178 1:7.1.8.1-8.el9_1 RHSA-2023:0304
RHEL 8 autocorr-af +171 1:6.4.7.2-12.el8_7 RHSA-2023:0089

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 autocorr-af +177 1:7.1.8.1-8.el9_1.alma ALSA-2023:0304
AlmaLinux 8 autocorr-af +170 1:6.4.7.2-12.el8_7.alma ALSA-2023:0089

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libreoffice 1:7.1.8.1-8.el9_1 RLSA-2023:0304
Rocky Linux 8 libreoffice 1:6.4.7.2-12.el8_7 RLSA-2023:0089
ReleasePackageFixed inAdvisory
SLES 15 SP4 libreoffice 7.3.6.2-150300.14.22.24.2 SUSE-SU-2022:3650-1
SLES 15 SP3 libreoffice 7.3.6.2-150300.14.22.24.2 SUSE-SU-2022:3650-1
SLES 12 SP5 libreoffice 7.3.6.2-48.28.1 SUSE-SU-2022:3602-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libreoffice 7.4.2.3-1.1 openSUSE-SU-2024:12452-1
openSUSE Leap 15.4 libreoffice 7.3.6.2-150300.14.22.24.2 SUSE-SU-2022:3650-1
openSUSE Leap 15.3 libreoffice 7.3.6.2-150300.14.22.24.2 SUSE-SU-2022:3650-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libreoffice 7.3.6.2-r0 —
Alpine v3.23 libreoffice 7.3.6.2-r0 —
Alpine v3.22 libreoffice 7.3.6.2-r0 —
Alpine v3.21 libreoffice 7.3.6.2-r0 —
Alpine v3.20 libreoffice 7.3.6.2-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libreoffice 7.3.6.2-r0 —
Alpine v3.18 libreoffice 7.3.6.2-r0 —
Alpine v3.17 libreoffice 7.3.6.2-r0 —
Alpine v3.16 libreoffice 7.2.7.2-r2 —
Alpine v3.15 libreoffice 7.2.7.2-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 autocorr-af +177 1:7.1.8.1-8.0.1.el9_1 ELSA-2023-0304
Oracle Linux 8 autocorr-af +170 1:6.4.7.2-12.0.1.el8_7 ELSA-2023-0089

Advisories 15

References