Command Injection in Pygments
Critical severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Oct 24, 2024
Description
Published by the National Vulnerability Database
Jan 8, 2016
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Jun 3, 2022
Last updated
Oct 24, 2024
The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.
References