Out-of-bounds write in FreeType - CVE-2022-27404

 

Out-of-bounds write in FreeType - CVE-2022-27404

Published: July 21, 2022 / Updated: July 21, 2022


Vulnerability identifier: #VU65639
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-27404
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in the "sfnt_init_face" function. A remote attacker can trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

FreeType
Amazon Linux AMI
Oracle Linux
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
openSUSE Leap Micro
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
Ubuntu
openEuler
Fedora
Google Android
cflinuxfs3
Financial Reporting
Dell Data Protection Central
Robotic Process Automation for Cloud Pak
Migration Toolkit for Runtimes
OpenShift Logging
Red Hat Migration Toolkit for Applications
Primavera P6 Enterprise Project Portfolio Management
Oracle Communications Cloud Native Core Binding Support Function
Red Hat Advanced Cluster Management for Kubernetes
IBM Cloud Transformation Advisor
Red Hat OpenShift Dev Spaces
App Connect Enterprise Certified Container
Red Hat OpenShift Serverless
OpenShift Virtualization
OpenShift API for Data Protection (OADP)
Migration Toolkit for Containers
Primavera Unifier
HPE Moonshot 1500 Chassis Manager
Red Hat OpenShift Container Platform
Oracle Outside In Technology
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libfreetype6 (Ubuntu package)
freetype (Red Hat package)
freetype
freetype-debuginfo
freetype-debugsource
freetype-devel
freetype-help
libfreetype6-debuginfo
ftbench
libfreetype6-32bit
libfreetype6-32bit-debuginfo
freetype2-devel
libfreetype6
freetype2-debugsource
ftdump
ft2demos
ftdiff
ftgamma
ftgrid
ftinspect
ftlint
ftmulti
ftstring
ftvalid
ftview
freetype2-devel-32bit
freetype2-profile-tti35
mingw-freetype
media-libs/freetype
Oracle Documaker
Oracle AutoVue
Oracle Communications Cloud Native Core Network Function Cloud Native Environment
IBM FileNet Content Manager
Dell EMC VxRail Appliance

How to mitigate CVE-2022-27404

Install updates from vendor's website.

FreeType - update to 2.12.1
cflinuxfs3 - update to 0.312.0
Migration Toolkit for Runtimes - update to 1.0.1
Red Hat OpenShift Serverless - update to 1.26.0
OpenShift API for Data Protection (OADP) - update to 1.1.2
Migration Toolkit for Containers - update to 1.7.6
OpenShift Logging - addressed in versions 5.3.14, 5.5.5
Red Hat Migration Toolkit for Applications - update to 6.0.1
Red Hat Advanced Cluster Management for Kubernetes - update to 2.6.3
libfreetype6 (Ubuntu package) - addressed in versions 2.8.1-2ubuntu2.2, 2.10.1-2ubuntu0.2, 2.11.1+dfsg-1ubuntu0.1
freetype (Red Hat package) - addressed in versions 2.9.1-5.el8_6.3, 2.9.1-9.el8, 2.10.4-9.el9
freetype - update to 2.10.2-4
freetype-debuginfo - update to 2.10.2-4
freetype-debugsource - update to 2.10.2-4
freetype-devel - update to 2.10.2-4
freetype-help - update to 2.10.2-4
freetype - addressed in versions 2.10.4-6.fc34, 2.11.0-6.fc35, 2.12.1-1.fc36
freetype-devel - update to 2.10.4-9
freetype - update to 2.10.4-9
libfreetype6-debuginfo - update to 2.10.4-150000.4.12.1
ftbench - update to 2.10.4-150000.4.12.1
libfreetype6-32bit - update to 2.10.4-150000.4.12.1
libfreetype6-32bit-debuginfo - update to 2.10.4-150000.4.12.1
freetype2-devel - update to 2.10.4-150000.4.12.1
libfreetype6 - update to 2.10.4-150000.4.12.1
freetype2-debugsource - update to 2.10.4-150000.4.12.1
ftdump - update to 2.10.4-150000.4.12.1
ft2demos - update to 2.10.4-150000.4.12.1
ftdiff - update to 2.10.4-150000.4.12.1
ftgamma - update to 2.10.4-150000.4.12.1
ftgrid - update to 2.10.4-150000.4.12.1
ftinspect - update to 2.10.4-150000.4.12.1
ftlint - update to 2.10.4-150000.4.12.1
ftmulti - update to 2.10.4-150000.4.12.1
ftstring - update to 2.10.4-150000.4.12.1
ftvalid - update to 2.10.4-150000.4.12.1
ftview - update to 2.10.4-150000.4.12.1
freetype2-devel-32bit - update to 2.10.4-150000.4.12.1
freetype2-profile-tti35 - update to 2.10.4-150000.4.12.1
mingw-freetype - addressed in versions 2.11.0-2.fc35, 2.11.1-3.fc36, 2.12.1-1.fc36
freetype - update to 2.12.1-3
media-libs/freetype - update to 2.13.0
IBM Cloud Transformation Advisor - update to 3.4.0
Red Hat OpenShift Dev Spaces - addressed in versions 3.15.0, 3.16.0
HPE Moonshot 1500 Chassis Manager - update to 4.0-b43
OpenShift Virtualization - addressed in versions 4.11.1, 4.12.0
Red Hat OpenShift Container Platform - addressed in versions 4.13.45, 4.14.32, 4.14.33
App Connect Enterprise Certified Container - addressed in versions 5.0.2, 6.2.0
IBM FileNet Content Manager - addressed in versions 5.5.4.0 IF0010, 5.5.8.0 IF004, 5.5.9.0 IF002, 5.5.10.0 IF001
Dell EMC VxRail Appliance - addressed in versions 7.0.401, 8.0.000
Google Android - update to 14 2023-10-01
Dell Data Protection Central - update to 19.9
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.1, 23.0.1

External References

Related Security Bulletins