GitHub Advisoryadvisory · PyPI
GHSA-fff8-4w9p-7v76 Command Injection in Pygments
CRITICAL
Official page ↗
- Aliases
- CVE-2015-8557
- Ecosystem
- PyPI
- Packages
- Pygments
- Severity
- Critical
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2022-06-03
Affected packages
• PyPI Pygments: >= 1.2.2, < 2.1 → fixed in 2.1
Description
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-8557 advisory
- https://github.com/pygments/pygments/commit/db6dd826f8624179e563aaded391efe824462f51 web
- https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff web
- https://github.com/advisories/GHSA-fff8-4w9p-7v76 advisory
- https://github.com/pygments/pygments package
- https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2016-32.yaml web
- https://security.gentoo.org/glsa/201612-05 web
- http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html web
- http://seclists.org/fulldisclosure/2015/Oct/4 web
- http://www.debian.org/security/2016/dsa-3445 web
- http://www.openwall.com/lists/oss-security/2015/12/14/17 web
- http://www.openwall.com/lists/oss-security/2015/12/14/6 web
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html web
- http://www.ubuntu.com/usn/USN-2862-1 web