CVE-2019-9854: Unsafe URL assembly flaw in allowed script location check
Vulnerability summary
CVE-2019-9854 is a high (CVSS 7.8) vulnerability in canonical ubuntu_linux. EPSS estimates a 1.76% chance of exploitation in the next 30 days, higher than 78.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 6Timeline
- 06-09-2019PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2019-9852, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed by employing a URL encoding attack to defeat the path verification step. However this protection could be bypassed by taking advantage of a flaw in how LibreOffice assembled the final script URL location directly from components of the passed in path as opposed to solely from the sanitized output of the path verification step. This issue affects: Document Foundation LibreOffice 6.2 versions prior to 6.2.7; 6.3 versions prior to 6.3.1.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.76%
Chance of exploitation in the next 30 days
Percentile
79%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.76% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- libreoffice< 1:6.3.1~rc2-1 | < 1:5.2.7-1+deb9u11 | < 1:6.1.5-3+deb10u4
- debian_linuxEOL8.0 | 9.0 | 10.0
Alpine1 product
- libreoffice≥ 6.2.0, < 6.3.1.2-r0 | ≥ 6.2.0, < 6.2.7.1-r0 | ≥ 6.3.0, < 6.3.1.2-r0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04 | 19.04
Document foundation1 product
- libreoffice≥ 6.2, < 6.2.7 | ≥ 6.3, < 6.3.1
Fedoraproject1 product
- fedoraEOL29
Libreoffice1 product
- libreoffice≥ 6.2.0, < 6.2.7 | ≥ 6.3.0, < 6.3.1
Opensuse1 product
- leapEOL15.0 | 15.1
Redhat1 product
- enterprise_linuxEOL7.0 | 8.0
Ubuntu1 product
- libreoffice< 1:5.1.6~rc2-0ubuntu1~xenial10 | < 1:6.0.7-0ubuntu0.18.04.10
9 vendors · 10 products
References
14 links- www.libreoffice.org/about-us/security/advisories/CVE-2019-9854/X Refsource CONFIRMREPORTVendor Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.htmlVendor AdvisoryX Refsource SUSEThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00055.htmlVendor AdvisoryX Refsource SUSEThird Party Advisory
Show all 14 references
- bugzilla.redhat.com/show_bug.cgi?id=1769907Third Party Advisory