Bug 1890210 (CVE-2020-15999) - CVE-2020-15999 freetype: Heap-based buffer overflow due to integer truncation in Load_SBit_Png
Summary: CVE-2020-15999 freetype: Heap-based buffer overflow due to integer truncation...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-15999
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1890211 1890271 1891635 1891902 1891903 1891904 1891905 1891906 2048292
Blocks: 1890212
TreeView+ depends on / blocked
 
Reported: 2020-10-21 16:58 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-01-30 19:59 UTC (History)
24 users (show)

Fixed In Version: freetype 2.10.4
Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow leading to out-of-bounds write was found in freetype. Memory allocation based on truncated PNG width and height values allows for an out-of-bounds write to occur in application memory when an attacker supplies a specially crafted TTF file.
Clone Of:
Environment:
Last Closed: 2020-10-27 02:21:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4940 0 None None None 2020-11-05 01:07:08 UTC
Red Hat Product Errata RHBA-2020:4941 0 None None None 2020-11-05 01:16:40 UTC
Red Hat Product Errata RHBA-2020:4942 0 None None None 2020-11-05 01:18:11 UTC
Red Hat Product Errata RHBA-2020:4943 0 None None None 2020-11-05 01:21:14 UTC
Red Hat Product Errata RHBA-2020:4957 0 None None None 2020-11-05 14:14:50 UTC
Red Hat Product Errata RHBA-2020:4977 0 None None None 2020-11-09 13:08:39 UTC
Red Hat Product Errata RHBA-2020:4979 0 None None None 2020-11-09 13:07:58 UTC
Red Hat Product Errata RHBA-2020:4980 0 None None None 2020-11-09 13:03:41 UTC
Red Hat Product Errata RHBA-2020:4981 0 None None None 2020-11-09 14:43:30 UTC
Red Hat Product Errata RHBA-2020:4983 0 None None None 2020-11-09 14:48:41 UTC
Red Hat Product Errata RHBA-2020:4984 0 None None None 2020-11-09 14:49:12 UTC
Red Hat Product Errata RHBA-2020:4985 0 None None None 2020-11-09 14:53:47 UTC
Red Hat Product Errata RHBA-2020:4986 0 None None None 2020-11-09 18:38:41 UTC
Red Hat Product Errata RHBA-2020:5094 0 None None None 2020-11-11 18:32:56 UTC
Red Hat Product Errata RHBA-2020:5105 0 None None None 2020-11-12 15:54:58 UTC
Red Hat Product Errata RHBA-2020:5114 0 None None None 2020-11-16 14:07:30 UTC
Red Hat Product Errata RHBA-2020:5244 0 None None None 2020-11-30 13:59:38 UTC
Red Hat Product Errata RHBA-2020:5303 0 None None None 2020-12-01 14:36:34 UTC
Red Hat Product Errata RHBA-2020:5331 0 None None None 2020-12-03 03:20:24 UTC
Red Hat Product Errata RHBA-2020:5335 0 None None None 2020-12-03 15:08:22 UTC
Red Hat Product Errata RHBA-2020:5347 0 None None None 2020-12-04 08:42:18 UTC
Red Hat Product Errata RHBA-2021:0012 0 None None None 2021-01-04 13:58:56 UTC
Red Hat Product Errata RHSA-2020:4351 0 None None None 2020-10-26 20:07:06 UTC
Red Hat Product Errata RHSA-2020:4907 0 None None None 2020-11-04 14:20:21 UTC
Red Hat Product Errata RHSA-2020:4949 0 None None None 2020-11-05 08:38:41 UTC
Red Hat Product Errata RHSA-2020:4950 0 None None None 2020-11-05 08:46:22 UTC
Red Hat Product Errata RHSA-2020:4951 0 None None None 2020-11-05 08:56:42 UTC
Red Hat Product Errata RHSA-2020:4952 0 None None None 2020-11-05 08:51:06 UTC

Description Guilherme de Almeida Suckevicz 2020-10-21 16:58:24 UTC
A flaw was found in freetype in the way it processes PNG images embedded into fonts. A crafted TTF file can lead to heap-based buffer overflow due to integer truncation in Load_SBit_Png function.

Reference:
https://savannah.nongnu.org/bugs/?59308

Upstream patch:
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a3bab162b2ae616074c8877a04556932998aeacd

Comment 1 Guilherme de Almeida Suckevicz 2020-10-21 16:58:46 UTC
Created freetype tracking bugs for this issue:

Affects: fedora-all [bug 1890211]

Comment 6 errata-xmlrpc 2020-10-26 20:07:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6 Supplementary

Via RHSA-2020:4351 https://access.redhat.com/errata/RHSA-2020:4351

Comment 7 Product Security DevOps Team 2020-10-26 20:21:20 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-15999

Comment 11 Product Security DevOps Team 2020-10-27 02:21:15 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-15999

Comment 14 Todd Cullum 2020-10-27 16:38:28 UTC
Statement:

Although firefox and thunderbird, as shipped with Red Hat Enterprise Linux 6, bundle a version (2.4.11) of freetype in gtk3-private, the version is not affected by this flaw because the vulnerable code was introduced in a subsequent version of freetype. The freetype package shipped with Red Hat Enterprise Linux 5 and 6 is not affected as the vulnerable code was introduced in a subsequent version of freetype.

go-freetype as shipped with Red Hat Advanced Cluster Management for Kubernetes is not affected by this flaw because it ships a pure go implementation of freetype which does not include the vulnerable code.

Comment 15 Todd Cullum 2020-10-28 17:35:52 UTC
Mitigation:

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Comment 36 errata-xmlrpc 2020-11-04 14:20:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4907 https://access.redhat.com/errata/RHSA-2020:4907

Comment 54 errata-xmlrpc 2020-11-05 08:38:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions

Via RHSA-2020:4949 https://access.redhat.com/errata/RHSA-2020:4949

Comment 55 errata-xmlrpc 2020-11-05 08:46:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2020:4950 https://access.redhat.com/errata/RHSA-2020:4950

Comment 56 errata-xmlrpc 2020-11-05 08:51:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4952 https://access.redhat.com/errata/RHSA-2020:4952

Comment 57 errata-xmlrpc 2020-11-05 08:56:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2020:4951 https://access.redhat.com/errata/RHSA-2020:4951


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