Pygments up to 2.0.2 Font Name formatters/img.py FontManager_get_nix_font_path os command injection
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.8 | $0-$5k | 0.00 |
A vulnerability was found in Pygments up to 2.0.2. It has been declared as critical. This vulnerability affects the function FontManager_get_nix_font_path
of the file formatters/img.py of the component Font Name Handler. The manipulation with an unknown input leads to a os command injection vulnerability. The CWE definition for the vulnerability is CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was disclosed 01/08/2016 (Website). The advisory is shared for download at bitbucket.org. This vulnerability was named CVE-2015-8557 since 12/14/2015. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1202.
The vulnerability scanner Nessus provides a plugin with the ID 87379 (Amazon Linux AMI : python-pygments (ALAS-2015-630)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124748 (Solaris 11.3 Support Repository Update (SRU) 5.6.0 Missing).
Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (87379) and Vulnerability Center (SBV-55614†).
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.0VulDB Meta Temp Score: 8.8
VulDB Base Score: 9.0
VulDB Temp Score: 8.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.0
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Os command injectionCWE: CWE-78 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 87379
Nessus Name: Amazon Linux AMI : python-pygments (ALAS-2015-630)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 703445
OpenVAS Name: Debian Security Advisory DSA 3445-1 (pygments - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Timeline
12/14/2015 🔍12/14/2015 🔍
12/16/2015 🔍
12/16/2015 🔍
01/08/2016 🔍
01/08/2016 🔍
01/10/2016 🔍
01/11/2016 🔍
07/02/2022 🔍
Sources
Advisory: USN-2862-1Status: Not defined
Confirmation: 🔍
CVE: CVE-2015-8557 (🔍)
OVAL: 🔍
Vulnerability Center: 55614 - Pygments 1.2.2 through 2.0.2 Remote Code Execution via Shell Metacharacters, Critical
Entry
Created: 01/10/2016 20:16Updated: 07/02/2022 17:44
Changes: 01/10/2016 20:16 (61), 06/20/2018 08:51 (19), 07/02/2022 17:44 (3)
Complete: 🔍
Cache ID: 3:46C:103
No comments yet. Languages: en.
Please log in to comment.