CVE-2022-3140 Macro URL arbitrary script execution
MediumCVSS 6.3
EPSS 7.0%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice | >= 7.4, < 7.4.1 | 7.4.1 |
| The Document Foundation LibreOffice | >= 7.3, < 7.3.6 | 7.3.6 |
| ubuntu/libreoffice(Ubuntu:22.04) | < 1:7.3.6-0ubuntu0.22.04.2 | 1:7.3.6-0ubuntu0.22.04.2 |
| libreoffice | >= 7.3.0, < 7.3.6 | 7.3.6 |
| libreoffice | = 7.4.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| debian/libreoffice(Debian:12) | < 1:7.4.1~rc2-3 | 1:7.4.1~rc2-3 |
| debian/libreoffice(Debian:14) | < 1:7.4.1~rc2-3 | 1:7.4.1~rc2-3 |
| debian/libreoffice(Debian:13) | < 1:7.4.1~rc2-3 | 1:7.4.1~rc2-3 |
| alpine/libreoffice(Alpine:v3.15) | < 7.2.7.2-r0 | 7.2.7.2-r0 |
| alpine/libreoffice(Alpine:v3.16) | < 7.2.7.2-r2 | 7.2.7.2-r2 |
| alpine/libreoffice(Alpine:v3.17) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.18) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.19) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.20) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.21) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.22) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.23) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
| alpine/libreoffice(Alpine:v3.24) | >= 7.3.0, < 7.3.6.2-r0 | 7.3.6.2-r0 |
References
- Debian Security Tracker CVE-2022-3140 vendor-advisory
- www.libreoffice.org vendor-advisory
- DSA-5252 third-party-advisory vendor-advisory
- FEDORA-2022-775c747e4a vendor-advisory
- GLSA-202212-04 third-party-advisory vendor-advisory
- [debian-lts-announce] 20230326 [SECURITY] [DLA 3368-1] libreoffice security update mailing-list
- Ubuntu CVE tracker vendor-advisory
- USN-5694-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory