CVE-2015-8557: Command Injection in Pygments
(updated )
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
- bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
- github.com/advisories/GHSA-fff8-4w9p-7v76
- github.com/pygments/pygments
- github.com/pygments/pygments/commit/db6dd826f8624179e563aaded391efe824462f51
- github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2016-32.yaml
- nvd.nist.gov/vuln/detail/CVE-2015-8557
- security.gentoo.org/glsa/201612-05
Detect and mitigate CVE-2015-8557 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →