CVE-2018-7441
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.25%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.
- CVSS 3.0
- 7.0 HIGHCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.25% probability · 17th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-362
- Affected
- leptonica/leptonica
- Source
- cve@mitre.org
References
- https://lists.debian.org/debian-lts/2018/02/msg00054.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-01
- https://lists.debian.org/debian-lts/2018/02/msg00054.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202312-01
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.