CVE-2009-3721: Path Traversal

Published Sep 7, 2009
·
Updated

Multiple directory traversal and buffer overflow vulnerabilities were discovered in yTNEF, and in Evolution's TNEF parser that is derived from yTNEF. A crafted email could cause these applications to write data in arbitrary locations on the filesystem, crash, or potentially execute arbitrary code when decoding attachments.

Other sources

Yorick Koster discovered multiple security issues in yTNEF and Evolution's TNEF plugin (based on yTNEF), which are described in oCERT-2009-013 advisory:

http://www.ocert.org/advisories/ocert-2009-013.html

yTNEF, an open source filter program that decodes Transport Neutral Encapsulation Format (TNEF) e-mail attachments, and the Evolution TNEF attachment decoder plugin suffer from directory traversal and buffer overflow vulnerabilities.

The vulnerabilities lead to arbitrary code execution with the privilege of the target user running the decoders.

The directory traversal vulnerability is caused by improper sanitization of the file name used for saving the attachments, as it is computed directly from properties contained in the TNEF structure without checking for conditions that allow to traverse outside the temporary directory used for attachment storage. This leads to arbitrary code execution in case the attacker crafts an attachment that would overwrite a file used for execution (as an example the bashrc profile).

Additionally buffer and heap overflow vulnerabilities can be triggered by passing a file name exceeding a fixed size of 256 bytes in the TNEF data structure. This can lead to arbitrary code execution if exploited.

Further details can be found in Yorick's advisory: http://www.akitasecurity.nl/advisory.php?id=AK20090601

There's no official upstream fix for the issues. Both yTNEF and Evolution's TNEF plugin are unmaintained according to oCERT's advisory.

Red Hat

Affected Software

3 affected componentsFixes available
redhat/ytnef<2.8
2.8
Gnome Evolution
Ytnef Project Ytnef

Event History

Sep 7, 2009
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverity
May 26, 2021
CVE Published
via MITRE·09:06 PM
Data Sourced
via MITRE·09:06 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-3721?

CVE-2009-3721 is considered a critical vulnerability due to its potential to allow remote code execution and system crashes.

2

How do I fix CVE-2009-3721?

To remediate CVE-2009-3721, upgrade yTNEF to version 2.8 or later, and ensure that GNOME Evolution is also updated.

3

What applications are affected by CVE-2009-3721?

CVE-2009-3721 affects the yTNEF library and the Evolution email client’s TNEF parser.

4

Can CVE-2009-3721 lead to data loss?

Yes, CVE-2009-3721 can result in data loss as it may write data to arbitrary locations on the filesystem.

5

Is CVE-2009-3721 a common vulnerability?

CVE-2009-3721 is not common but has significant implications for users of affected software if not mitigated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203