OS Command Injection In pygments
Description
Command Injection in Pygments 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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
pypi | 2.1 | ||
debian 11 | 2.0.1+dfsg-2 | ||
debian 12 | 2.0.1+dfsg-2 | ||
debian 13 | 2.0.1+dfsg-2 | ||
debian 14 | 2.0.1+dfsg-2 | ||
rpm rhel7 | - | - | |
rpm rhel6 | - | - |
Aliases
1. 2. 3. 4. 5. 6. 7. 8.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10.