CVE-2018-7442: Path Traversal
An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2018-7442?
CVE-2018-7442 is classified as a moderate severity vulnerability due to its potential for path traversal and arbitrary file overwrite.
How do I fix CVE-2018-7442?
To fix CVE-2018-7442, upgrade Leptonica to version 1.75.4 or later, where the vulnerability is addressed.
What types of attacks can exploit CVE-2018-7442?
CVE-2018-7442 can be exploited via specially crafted inputs that include '/' characters in the gplot rootname argument.
Which versions of Leptonica are affected by CVE-2018-7442?
CVE-2018-7442 affects Leptonica versions up to and including 1.75.3.
Is CVE-2018-7442 a remote or local vulnerability?
CVE-2018-7442 is primarily a local vulnerability as it requires an attacker to have access to the software inputs to exploit the flaw.