Path Traversal in Leptonica
CVE-2017-18196
Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.004 (34.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.3 (Low). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Leptonica — versions 1.74.4
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Mailing List, Third Party Advisory)
- cve@mitre.org (vendor-advisory)
Frequently asked questions
- What is CVE-2017-18196?
- CVE-2017-18196 is a low-severity vulnerability in Leptonica, classified under Path Traversal. CVSS score: 3.3/10. Published 2018-02-23.
- How severe is CVE-2017-18196?
- Low severity. CVSS v3 base score is 3.3 out of 10.