libytnef: February 2017 multiple vulnerabilities (X41-2017-002)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libytnef (Debian) |
Fix Released
|
Unknown
|
|||
libytnef (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Confirmed
|
Medium
|
Unassigned | ||
Xenial |
Incomplete
|
Medium
|
Jeremy Bícha | ||
Yakkety |
Won't Fix
|
Medium
|
Jeremy Bícha | ||
Zesty |
Won't Fix
|
Medium
|
Jeremy Bícha |
Bug Description
http://
https:/
Upstream calls this X41-2017-002 but a bunch of CVEs have been assigned too.
https:/
Fixed in zesty. I'd like to copy the Debian stable security patches when it's released there.
Quoting from the oss-security post…
Summary and Impact
------------------
Multiple Heap Overflows, out of bound writes and reads, NULL pointer
dereferences and infinite loops have been discovered in ytnef 1.9 an
earlier.
These could be exploited by tricking a user into opening a malicious
winmail.dat file.
Product Description
-------------------
ytnef offers a library and utilities to extract the files from winmail.dat
files. winmail.dat files are send by Microsoft Outlook when forwarding files
via e-mail. The vendor was very responsive in providing a patched version.
Analysis
--------
Due to the big amount of issues found no detailed analysis is given here.
Almost all allocations were unchecked and out of bounds checks rarely
performed in the code.
In total 9 patches were generated for the following issues:
1. Null Pointer Deref / calloc return value not checked
2. Infinite Loop / DoS
3. Buffer Overflow in version field
4. Out of Bound Reads
5. Integer Overflow
6. Invalid Write and Integer Overflow
7. Out of Bounds read
8. Out of Bounds read and write
9. Directory Traversal using the filename
Testing Done
------------
None
Other Info
----------
Zesty already got these fixes synced from Debian. Trusty got these fixes earlier in May since it was still in main. Recently, there's one more CVE, 2017-9058 so I've supplied debdiffs for trusty and zesty for that issue, copied from Debian's 1.9.2-2 package (which will autosync to artful). For xenial and yakkety, I also added the patches that were applied to trusty.
For more about this new issue, see Debian bug 862556
The only reverse dependency for libytnef is evolution.
For xenial and yakkety, the CVE patch appears to have a basically duplicate fix for the second half of pt_clsid.diff so I dropped those lines from pt_clsid.diff.
Changed in libytnef (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
Changed in libytnef (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in libytnef (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in libytnef (Ubuntu Yakkety): | |
status: | New → Confirmed |
Changed in libytnef (Ubuntu Zesty): | |
status: | New → Confirmed |
description: | updated |
description: | updated |
description: | updated |
Changed in libytnef (Debian): | |
status: | Unknown → Fix Released |
Changed in libytnef (Ubuntu Yakkety): | |
status: | Incomplete → Won't Fix |
Changed in libytnef (Ubuntu Zesty): | |
status: | Incomplete → Won't Fix |
Changed in libytnef (Ubuntu): | |
importance: | Undecided → Medium |
Changed in libytnef (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in libytnef (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in libytnef (Ubuntu Yakkety): | |
importance: | Undecided → Medium |
Changed in libytnef (Ubuntu Zesty): | |
importance: | Undecided → Medium |
Changed in libytnef (Ubuntu): | |
status: | Confirmed → Fix Released |
Thanks for the debdiffs! The only change that I made was to the version used in the Zesty debdiff. I changed 1.9.2-1ubuntu0. 17.04 to 1.9.2-1ubuntu0.1 as suggested here:
https:/ /wiki.ubuntu. com/SecurityTea m/UpdatePrepara tion#Update_ the_packaging
I've uploaded the packages to ppa:ubuntu- security- proposed/ ppa
Once the builds complete, please perform testing of xenial, yakkety, and zesty and then update this bug report with the testing that you performed.
I'll need to perform my own testing of libytnef on trusty since it is in main for that release. Feel free to skip it.