VulnerabilityModified
CVE-2018-7442
The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.
CRITICAL 9.1EPSS 1.99%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.99%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.0
- 9.1 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 1.99% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- leptonica/leptonica
- Source
- cve@mitre.org
References
- https://lists.debian.org/debian-lts/2018/02/msg00086.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-01
- https://lists.debian.org/debian-lts/2018/02/msg00086.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-01
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.