portage-ng / portage / net-mail / ytnef / 2.1.2
portage-ng glsa
1 advisory reference net-mail/ytnef · none place version 2.1.2 in a vulnerable range
▸ GLSA 202405-24 ytnef: Multiple Vulnerabilities this version unaffected normal remote 2024-05-08

Multiple vulnerabilities have been discovered in ytnef, the worst of which could potentially lead to remote code execution.

Announced
2024-05-08
Revised
2024-05-08
Access
remote
Bugs
#774255
Advisory
https://security.gentoo.org/glsa/202405-24

Affected packages

PackageArchVulnerableUnaffected
net-mail/ytnef*< 2.0>= 2.0

Background

ytnef is a TNEF stream reader for reading winmail.dat files.

Description

The TNEFSubjectHandler function in lib/ytnef.c allows remote attackers to cause a denial-of-service (and potentially code execution) due to a double free which can be triggered via a crafted file. 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.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All ytnef users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/ytnef-2.0"

References