Amazon Linux AMI update for freetype



Risk Critical
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2020-15999
CVE-2022-27404
CVE-2022-27405
CVE-2022-27406
CWE-ID CWE-122
CWE-787
CWE-125
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Amazon Linux AMI
Operating systems & Components / Operating system

freetype
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU47741

Risk: Critical

CVSSv4.0: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red]

CVE-ID: CVE-2020-15999

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in freetype library when processing TTF files. A remote attacker can pass specially crafted TTF file with PNG sbit glyphs to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, this vulnerability is being actively exploited in the wild.

Mitigation

Update the affected packages:

aarch64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-2.12.1-3.amzn2023.0.1.aarch64
    freetype-devel-2.12.1-3.amzn2023.0.1.aarch64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.aarch64

src:
    freetype-2.12.1-3.amzn2023.0.1.src

x86_64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-2.12.1-3.amzn2023.0.1.x86_64
    freetype-2.12.1-3.amzn2023.0.1.x86_64
    freetype-devel-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

freetype: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-074.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.

2) Out-of-bounds write

EUVDB-ID: #VU65639

Risk: High

CVSSv4.0: 8.1 [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/E:U/U:Amber]

CVE-ID: CVE-2022-27404

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: No

Description

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.

Mitigation

Update the affected packages:

aarch64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-2.12.1-3.amzn2023.0.1.aarch64
    freetype-devel-2.12.1-3.amzn2023.0.1.aarch64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.aarch64

src:
    freetype-2.12.1-3.amzn2023.0.1.src

x86_64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-2.12.1-3.amzn2023.0.1.x86_64
    freetype-2.12.1-3.amzn2023.0.1.x86_64
    freetype-devel-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

freetype: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-074.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Out-of-bounds read

EUVDB-ID: #VU65637

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-27405

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in the "FNT_Size_Request" function. A remote attacker can trigger out-of-bounds read error and cause a denial of service condition on the system.

Mitigation

Update the affected packages:

aarch64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-2.12.1-3.amzn2023.0.1.aarch64
    freetype-devel-2.12.1-3.amzn2023.0.1.aarch64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.aarch64

src:
    freetype-2.12.1-3.amzn2023.0.1.src

x86_64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-2.12.1-3.amzn2023.0.1.x86_64
    freetype-2.12.1-3.amzn2023.0.1.x86_64
    freetype-devel-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

freetype: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-074.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Out-of-bounds read

EUVDB-ID: #VU65638

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-27406

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition in the "FT_Request_Size" function. A remote attacker can trigger out-of-bounds read error and cause a denial of service condition on the system.

Mitigation

Update the affected packages:

aarch64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-2.12.1-3.amzn2023.0.1.aarch64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.aarch64
    freetype-2.12.1-3.amzn2023.0.1.aarch64
    freetype-devel-2.12.1-3.amzn2023.0.1.aarch64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.aarch64

src:
    freetype-2.12.1-3.amzn2023.0.1.src

x86_64:
    freetype-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-2.12.1-3.amzn2023.0.1.x86_64
    freetype-2.12.1-3.amzn2023.0.1.x86_64
    freetype-devel-2.12.1-3.amzn2023.0.1.x86_64
    freetype-demos-debuginfo-2.12.1-3.amzn2023.0.1.x86_64
    freetype-debugsource-2.12.1-3.amzn2023.0.1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

freetype: All versions

CPE2.3 External links

https://alas.aws.amazon.com/AL2023/ALAS-2023-074.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###