Bug 2077989 (CVE-2022-27404)

Summary: CVE-2022-27404 FreeType: Buffer overflow in sfnt_init_face
Product: [Other] Security Response Reporter: Sage McTaggart <amctagga>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ajax, caillon+fedoraproject, erik-fedora, fonts-bugs, gnome-sig, gparvin, jramanat, manisandro, mclasen, mkasik, njean, pahickey, rh-spice-bugs, rhughes, rjones, rstrode, sandmann, stcannon
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freetype 2.12.0 Doc Type: If docs needed, set a value
Doc Text:
A heap buffer overflow flaw was found in Freetype’s sfnt_init_face() function in the sfobjs.c file. The vulnerability occurs when creating a face with a strange file and invalid index. This flaw allows an attacker to read a small amount of memory, causing the application to crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-05 03:33:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2079203, 2079204, 2079270, 2079271, 2079272    
Bug Blocks: 2077982    

Description Sage McTaggart 2022-04-22 19:06:13 UTC
FreeType commit 1e2eb65048f75c64b68708efed6ce904c31f3b2f was discovered to contain a heap buffer overflow via the function sfnt_init_face.

https://gitlab.freedesktop.org/freetype/freetype/-/issues/1138

Comment 1 TEJ RATHI 2022-04-27 07:57:25 UTC
Created freetype tracking bugs for this issue:

Affects: fedora-all [bug 2079203]


Created mingw-freetype tracking bugs for this issue:

Affects: fedora-all [bug 2079204]

Comment 4 errata-xmlrpc 2022-11-08 10:21:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7745 https://access.redhat.com/errata/RHSA-2022:7745

Comment 5 errata-xmlrpc 2022-11-15 10:59:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8340 https://access.redhat.com/errata/RHSA-2022:8340

Comment 6 Product Security DevOps Team 2022-12-05 03:33:24 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-2022-27404

Comment 8 errata-xmlrpc 2024-01-24 16:47:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0420 https://access.redhat.com/errata/RHSA-2024:0420