CVE-2019-9852: canonical ubuntu_linux Improper Encoding or Escaping of Output
Vulnerability summary
CVE-2019-9852 is a high (CVSS 7.8) Improper Encoding or Escaping of Output vulnerability in canonical ubuntu_linux. EPSS estimates a 1.75% chance of exploitation in the next 30 days, higher than 77.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 11 · Related 6Timeline
- 15-08-2019PublishedVulnerability first disclosed.
- 17-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-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.
CVSS metrics
5 scores · 3 sources · 3 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
EPSS trend
Probability
1.75%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
-0.17 pp
From 1.93% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-116Improper Encoding or Escaping of OutputThe product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Debian2 products
- libreoffice< 1:6.3.0-1
- debian_linuxEOL8.0 | 9.0 | 10.0
Canonical1 product
- ubuntu_linuxEOL16.04 | 18.04 | 19.04
Document foundation1 product
- libreoffice≥ unspecified, < 6.2.6
Fedoraproject1 product
- fedoraEOL29
Libreoffice1 product
- libreoffice< 6.2.6
Opensuse1 product
- leapEOL15.0 | 15.1
Ubuntu1 product
- libreoffice< 1:5.1.6~rc2-0ubuntu1~xenial9 | < 1:6.0.7-0ubuntu0.18.04.9
7 vendors · 8 products
References
14 links- www.libreoffice.org/about-us/security/advisories/CVE-2019-9852X Refsource MISCREPORTPatchVendor Advisory
- seclists.org/bugtraq/2019/Aug/28Mailing ListX Refsource BUGTRAQREPORTIssue TrackingThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00006.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00067.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory
- lists.debian.org/debian-lts-announce/2019/10/msg00005.htmlMailing ListX Refsource MLISTThird Party Advisory