OS Command Injection in FontForge - CVE-2024-25081
Published: November 12, 2024
Vulnerability identifier: #VU100255
CSH Severity: High
CVSS v4: 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]
CVE-ID: CVE-2024-25081
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation when handling filenames. A remote attacker can trick the victim into opening a specially crafted file and execute arbitrary OS commands on the target system.
Affected software
FontForge
Gentoo Linux
Debian Linux
Amazon Linux AMI
Anolis OS
Ubuntu
openEuler
Fedora
fontforge (Ubuntu package)
python-fontforge (Ubuntu package)
python3-fontforge (Ubuntu package)
fontforge-devel
fontforge-debuginfo
fontforge-debugsource
fontforge
fontforge-help
fontforge-doc
fontforge (Debian package)
fontforge (Red Hat package)
media-gfx/fontforge
Gentoo Linux
Debian Linux
Amazon Linux AMI
Anolis OS
Ubuntu
openEuler
Fedora
fontforge (Ubuntu package)
python-fontforge (Ubuntu package)
python3-fontforge (Ubuntu package)
fontforge-devel
fontforge-debuginfo
fontforge-debugsource
fontforge
fontforge-help
fontforge-doc
fontforge (Debian package)
fontforge (Red Hat package)
media-gfx/fontforge
How to mitigate CVE-2024-25081
Install updates from vendor's website.
fontforge (Ubuntu package) - addressed in versions Ubuntu Pro, 1:20190801~dfsg-4ubuntu0.1, 1:20201107~dfsg-4+deb11u1build0.22.04.1, 1:20230101~dfsg-1ubuntu0.1
python-fontforge (Ubuntu package) - update to Ubuntu Pro
python3-fontforge (Ubuntu package) - addressed in versions 1:20190801~dfsg-4ubuntu0.1, 1:20201107~dfsg-4+deb11u1build0.22.04.1, 1:20230101~dfsg-1ubuntu0.1
fontforge-devel - update to 20200314-5
fontforge-debuginfo - update to 20200314-5
fontforge-debugsource - update to 20200314-5
fontforge - update to 20200314-5
fontforge-help - update to 20200314-5
fontforge-doc - addressed in versions 20200314-6.0.1, 20230101-6
fontforge - addressed in versions 20200314-6.0.1, 20230101-6
fontforge (Debian package) - addressed in versions 1:20201107~dfsg-4+deb11u1, 1:20230101~dfsg-1.1~deb12u1
fontforge - update to 20201107-3
fontforge (Red Hat package) - addressed in versions 20201107-6.el9, 20201107-6.el9_4
media-gfx/fontforge - update to 20230101-r1
fontforge-devel - update to 20230101-6
fontforge - update to 20230101-11.fc40
python-fontforge (Ubuntu package) - update to Ubuntu Pro
python3-fontforge (Ubuntu package) - addressed in versions 1:20190801~dfsg-4ubuntu0.1, 1:20201107~dfsg-4+deb11u1build0.22.04.1, 1:20230101~dfsg-1ubuntu0.1
fontforge-devel - update to 20200314-5
fontforge-debuginfo - update to 20200314-5
fontforge-debugsource - update to 20200314-5
fontforge - update to 20200314-5
fontforge-help - update to 20200314-5
fontforge-doc - addressed in versions 20200314-6.0.1, 20230101-6
fontforge - addressed in versions 20200314-6.0.1, 20230101-6
fontforge (Debian package) - addressed in versions 1:20201107~dfsg-4+deb11u1, 1:20230101~dfsg-1.1~deb12u1
fontforge - update to 20201107-3
fontforge (Red Hat package) - addressed in versions 20201107-6.el9, 20201107-6.el9_4
media-gfx/fontforge - update to 20230101-r1
fontforge-devel - update to 20230101-6
fontforge - update to 20230101-11.fc40
External References
- https://github.com/fontforge/fontforge/pull/5367
- https://lists.debian.org/debian-lts-announce/2024/03/msg00007.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GCH22HIO2C6M4BZWF5EYIWVFBXL5BQAH/
- http://www.openwall.com/lists/oss-security/2024/03/08/2
Related Security Bulletins
- Multiple vulnerabilities in FontForge
- Red Hat Enterprise Linux 9 update for fontforge
- Debian update for fontforge
- Ubuntu update for fontforge
- Amazon Linux AMI update for fontforge
- Fedora 40 update for fontforge
- openEuler update for fontforge
- Anolis OS update for fontforge
- Anolis OS update for fontforge
- Gentoo update for FontForge
- Red Hat Enterprise Linux 9 update for fontforge