Out-of-Bounds Affecting yeraze/ytnef package, versions [,1.9.3)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
1.12% (85th 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 IDSNYK-UNMANAGED-YERAZEYTNEF-2367238
  • published26 Jan 2022
  • disclosed22 May 2017
  • creditUnknown

Introduced: 22 May 2017

CVE-2017-9146  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade yeraze/ytnef to version 1.9.3 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. The TNEFFillMapi function in lib/ytnef.c in libytnef in ytnef through 1.9.2 does not ensure a nonzero count value before a certain memory allocation, which allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted tnef file.

References

CVSS Scores

version 3.1