Bug 444443 - (CVE-2008-2009) CVE-2008-2009 vorbis: insufficient validation of Huffman tree causing memory corruption in _make_decode_tree()
CVE-2008-2009 vorbis: insufficient validation of Huffman tree causing memory ...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
source=redhat,reported=20080404,publi...
: Security
Depends On: 444703
Blocks: 438125
  Show dependency treegraph
 
Reported: 2008-04-28 09:42 EDT by Tomas Hoger
Modified: 2008-05-14 03:38 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-14 03:38:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch from Monty (xiphmont) (1.50 KB, patch)
2008-04-28 09:53 EDT, Tomas Hoger
no flags Details | Diff

  None (edit)
Description Tomas Hoger 2008-04-28 09:42:36 EDT
Will Drewry of the Google Security Team created a set of fuzzed OGG test files
to test OGG Vorbis and Tremor implementations.  Some of them were causing memory
corruption and crash on old libvorbis versions (prior to 1.0).

Crash / corruption occurred in _make_decode_tree().  This function was removed
prior to the release of upstream version 1.0 in following changes:

https://trac.xiph.org/changeset/2959
https://trac.xiph.org/changeset/2960

Test files do not crash libvobis revision 2960 or later.
Comment 1 Tomas Hoger 2008-04-28 09:53:16 EDT
Created attachment 303976 [details]
Patch from Monty (xiphmont)

Patch adds _check_words, a dry-run variant of _make_words, that does performs
huffman tree validation early in the stream decoding.
Comment 2 Tomas Hoger 2008-04-29 05:15:15 EDT
Similar additional checks were committed to libvorbis trunk to reject
underpopulated Huffman trees early in the file parsing:

https://trac.xiph.org/changeset/14811
Comment 9 Tomas Hoger 2008-05-14 03:30:48 EDT
Lifting embargo.
Comment 10 Red Hat Product Security 2008-05-14 03:38:21 EDT
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2008-0271.html


Note You need to log in before you can comment on or make changes to this bug.