CVE-2022-3140

NameCVE-2022-3140
DescriptionLibreOffice 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3368-1, DSA-5252-1, ELA-968-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libreoffice (PTS)jessie, jessie (lts)1:4.3.3-2+deb8u15vulnerable
stretch (security)1:5.2.7-1+deb9u11vulnerable
stretch (lts), stretch1:6.1.5-3+deb9u5fixed
buster, buster (lts)1:6.1.5-3+deb10u14fixed
buster (security)1:6.1.5-3+deb10u12fixed
bullseye1:7.0.4-4+deb11u10fixed
bullseye (security)1:7.0.4-4+deb11u11fixed
bookworm (security), bookworm4:7.4.7-1+deb12u5fixed
trixie4:24.8.3-3fixed
sid4:24.8.4-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libreofficesourcestretch1:6.1.5-3~deb9u1ELA-968-1
libreofficesourcebuster1:6.1.5-3+deb10u8DLA-3368-1
libreofficesourcebullseye1:7.0.4-4+deb11u4DSA-5252-1
libreofficesource(unstable)1:7.4.1~rc2-3

Notes

https://www.libreoffice.org/about-us/security/advisories/cve-2022-3140
[jessie] - libreoffice <ignored> (Too intrusive to backport, requires to backport internal libraries/API, does not have an impact if the user is using "headless")

Search for package or bug name: Reporting problems