|Summary:||CVE-2010-2520 freetype: heap buffer overflow vulnerability in truetype bytecode support|
|Product:||[Other] Security Response||Reporter:||Vincent Danen <vdanen>|
|Component:||vulnerability||Assignee:||Red Hat Product Security <security-response-team>|
|Status:||NEW ---||QA Contact:|
|Version:||unspecified||CC:||behdad, fonts-bugs, jrusnack, kevin|
|Target Milestone:||---||Keywords:||Reopened, Security|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2010-07-10 00:28:20 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Bug Depends On:||613298, 613299|
Description Vincent Danen 2010-07-10 00:26:18 UTC
Robert Swiecki reported a heap buffer overflow vulnerability in freetype's truetype bytecode support. This could cause applications linked against freetype to crash or, possibly, lead to the execution of arbitrary code if an attacker were able to get a victim to load a malicious font file. The affected functionality (truetype bytecode) is not compiled in Red Hat Enterprise Linux or Fedora by default. This issue has been given the name CVE-2010-2520. Upstream bug reports: http://savannah.nongnu.org/bugs/index.php?30361 Upstream commit that fixes the issue: http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=888cd1843e935fe675cf2ac303116d4ed5b9d54b Statement: Not vulnerable. This issue did not affect the versions of freetype as shipped with Red Hat Enterprise Linux 3, 4, or 5.
Comment 1 Vincent Danen 2010-07-10 00:28:20 UTC
Provided we never enable truetype bytecode support (doubtful since it's patented) this won't affect any version of freetype we ship. Users that have rebuilt freetype with truetype bytecode support enabled will probably want to patch this and rebuild again to get the fix, or revert to the (supported) version of freetype as provided (with truetype bytecode support disabled).
Comment 2 Kevin Kofler 2010-07-10 10:42:04 UTC
Is there a Freetype security update in the works for the other CVEs or should I patch freetype-freeworld for just this CVE while waiting on a decision for the others?
Comment 3 Vincent Danen 2010-07-10 15:59:17 UTC
Referring to Fedora updates? I'm not sure. There is no new upstream version as of yet (probably sometime next week). I was going to create a tracking bug for all of these flaws (well, excluding this one -- you can certainly include the patch for it if you like). I'll do that in a minute.
Comment 4 Vincent Danen 2010-07-10 16:09:02 UTC
Actually, I'm going to open this so that we can get the fixes into Fedora.
Comment 6 Nicolas Mailhot 2010-07-13 12:27:15 UTC
(In reply to comment #1) > Provided we never enable truetype bytecode support (doubtful since it's > patented) this won't affect any version of freetype we ship. The patents have expired and it was enabled (briefly) in Fedora It's disabled again for non-legal reasons (enabling it disables the autohinter, we'd like it to be enabled for glyphs with hints, and autohint the rest) Therefore, it would be a good idea to fix it preventively before it is enabled again
Comment 7 Vincent Danen 2010-07-15 20:43:28 UTC
Upstream has released 2.4.0 to correct this issue: http://lists.nongnu.org/archive/html/freetype/2010-07/msg00001.html