OS Command Injection in FontForge - CVE-2024-25082

 

OS Command Injection in FontForge - CVE-2024-25082

Published: November 12, 2024


Vulnerability identifier: #VU100254
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-25082
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 archives. A remote attacker can trick the victim into opening a specially crafted archive 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

How to mitigate CVE-2024-25082

Install updates from vendor's repository.

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

External References

Related Security Bulletins