CVE-2015-8557

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…

published January 8, 2016

CVSS
—
EPSS
7%
Percentile
93.9
In the wild
Unconfirmed
What it is

⚠️ A rogue font name could unleash chaos! This vulnerability in Pygments allows attackers to sneak in shell metacharacters, opening the door to arbitrary command execution. 🔥 Think of it like a restaurant accepting any order, regardless of how bizarre it sounds. If the chef doesn't check the ingredients, they might end up cooking something dangerous! This flaw could allow an attacker to execute any command they want on the system, potentially leading to a complete compromise. Imagine an unauthorized kitchen taking over your restaurant — they could change menus, ruin reputations, or even steal sensitive data. It's a recipe for disaster!

Put simply

Think of it like a restaurant accepting any order, regardless of how bizarre it sounds. If the chef doesn't check the ingredients, they might end up cooking something dangerous! The FontManager._get_nix_font_path function in Pygments versions 1.2.2 through 2.0.2 fails to sanitize font names, allowing remote attackers to inject shell metacharacters into the command execution flow.

What to do

This flaw could allow an attacker to execute any command they want on the system, potentially leading to a complete compromise. Imagine an unauthorized kitchen taking over your restaurant — they could change menus, ruin reputations, or even steal sensitive data. It's a recipe for disaster! Update Pygments to the latest version immediately to patch this vulnerability. Review any font names processed by your application to ensure they're sanitized and free of malicious content. Regularly audit your dependencies for security updates! You've got this! With a quick update, you'll lock this vulnerability down and keep your systems safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06718 · 93.9th percentile
Published
2016-01-08T20:00Z
EPSS history
Timeline
  • 08 JAN 20:00Z
    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…
    cvelistv5