fonttools is vulnerable to Path Traversal
55
Medium Risk
The fonttools varLib command line builds an output filename from the name attribute of a <variable-font> element in a designspace file. That value comes straight from the designspace and is joined into the output path without stripping directory components, so a name containing path traversal sequences writes the generated variable font outside the intended output directory and can overwrite files the process can access. The fix passes the name through os.path.basename before building the output path.
You are affected if you are using a version that falls within the vulnerable range and you run the fonttools varLib command or call fontTools.varLib.main on an untrusted designspace file.
fonttools is vulnerable to Path Traversal in versions 4.40.0 - 4.64.0.
Upgrade the fonttools library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.