Vulnerability · Published Jan 10, 2024 · Assigned by GitHub_M
CVE-2023-45139fonttools XML External Entity Injection (XXE) Vulnerability
High 7.5
In plain English
A high-severity XML external entity in fonttools from fonttools. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | fonttools | 4.38.0-1+deb12u1 | DEBIAN-CVE-2023-45139 |
| Debian:13 | fonttools | 4.46.0-1 | DEBIAN-CVE-2023-45139 |
| Debian:14 | fonttools | 4.46.0-1 | DEBIAN-CVE-2023-45139 |
| PyPI | fonttools | 4.43.0 | GHSA-6673-4983-2vx5 |
| PyPI | fonttools | 4.43.0 | PYSEC-2026-1388 |
| Ubuntu:25.10 | fonttools | 4.55.3-2ubuntu0.25.10.1 | USN-7917-1 |
Affected products (as reported)
Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/fonttools/fonttools/security/advisories/GHSA-6673-4983-2vx5 x_refsource_CONFIRM
- https://github.com/fonttools/fonttools/commit/9f61271dc1ca82ed91f529b130fe5dc5c9bf1f4c x_refsource_MISC
- https://github.com/fonttools/fonttools/releases/tag/4.43.0 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VY63B4SGY4QOQGUXMECRGD6K3YT3GJ75/
- http://www.openwall.com/lists/oss-security/2024/03/09/1
- http://www.openwall.com/lists/oss-security/2024/03/08/2