CVE-2024-25082
NixOS vulnerability analysis and mitigation

Overview

Splinefont in FontForge through 20230101 allows command injection via crafted archives or compressed files. This vulnerability is tracked as CVE-2024-25082 and was discovered in early 2024. The vulnerability affects FontForge installations up to version 20230101 (CVE Details, NVD).

Technical details

The vulnerability stems from FontForge's use of the system() function to execute commands for unpacking fonts from archives. The command line arguments provided include both the archive name and the font file name specified inside the archive, leading to a command injection vulnerability when processing specially-crafted archive files. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N (Openwall).

Impact

The vulnerability could allow attackers to execute arbitrary commands through specially crafted archive files or compressed files processed by FontForge. This could lead to unauthorized command execution in the context of the FontForge application (Openwall).

Mitigation and workarounds

A patch has been developed to address this vulnerability by switching from the system() function to glib's gspawnsync() for safer command execution. The fix was merged upstream on February 6, 2024, through pull request #5367. Various distributions have released security updates to address this vulnerability, including Debian, Ubuntu, and Fedora (GitHub PR, Fedora Update).

Community reactions

The vulnerability was disclosed alongside other font-related security issues in a detailed blog post titled 'Fonts are still a helvetica of a problem' by Canva's security team. The discovery has led to increased attention to security practices in font processing software (Openwall).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management