Directory Traversal Affecting yeraze/ytnef package, versions [,1.9.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (59th 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-UNMANAGED-YERAZEYTNEF-2367233
  • published26 Jan 2022
  • disclosed24 Feb 2017
  • creditUnknown

Introduced: 24 Feb 2017

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

How to fix?

Upgrade yeraze/ytnef to version 1.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. An issue was discovered in ytnef before 1.9.1. This is related to a patch described as "9 of 9. Directory Traversal using the filename; SanitizeFilename function in settings.c."

References

CVSS Scores

version 3.1