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

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

Name Vendor Start Version End Version
Fonttools Fonttools 4.28.2 (including) 4.43.0 (excluding)
Fonttools Ubuntu bionic *
Fonttools Ubuntu esm-apps/jammy *
Fonttools Ubuntu focal *
Fonttools Ubuntu jammy *
Fonttools Ubuntu lunar *
Fonttools Ubuntu mantic *
Fonttools Ubuntu trusty *
Fonttools Ubuntu upstream *
Fonttools Ubuntu xenial *

Potential Mitigations

References