CVE Vulnerabilities

CVE-2023-45139

Improper Restriction of XML External Entity Reference

Published: Jan 10, 2024 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

fontTools is a library for manipulating fonts, written in Python. The subsetting module has a XML External Entity Injection (XXE) vulnerability which allows an attacker to resolve arbitrary entities when a candidate font (OT-SVG fonts), which contains a SVG table, is parsed. This allows attackers to include arbitrary files from the filesystem fontTools is running on or make web requests from the host system. This vulnerability has been patched in version 4.43.0.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

NameVendorStart VersionEnd Version
FonttoolsFonttools4.28.2 (including)4.43.0 (excluding)
FonttoolsUbuntubionic*
FonttoolsUbuntuesm-apps/jammy*
FonttoolsUbuntufocal*
FonttoolsUbuntujammy*
FonttoolsUbuntulunar*
FonttoolsUbuntumantic*
FonttoolsUbuntutrusty*
FonttoolsUbuntuupstream*
FonttoolsUbuntuxenial*

Potential Mitigations

References