Out-of-Bounds Affecting ytnef package, versions <1.9.3-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (51st 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-ALPINE321-YTNEF-8490178
  • published6 Dec 2024
  • disclosed4 Mar 2021

Introduced: 4 Mar 2021

CVE-2021-3404  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 ytnef to version 1.9.3-r1 or higher.

NVD Description

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

In ytnef 1.9.3, the SwapWord function in lib/ytnef.c allows remote attackers to cause a denial-of-service (and potentially code execution) due to a heap buffer overflow which can be triggered via a crafted file.

CVSS Scores

version 3.1