Directory Traversal Affecting leptonlib package, versions *


Severity

Recommended
0.0
low
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1604-LEPTONLIB-344166
  • published23 Feb 2018
  • disclosed23 Feb 2018

Introduced: 23 Feb 2018

CVE-2017-18196  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:16.04 leptonlib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream leptonlib package and not the leptonlib package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.