Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Pygments: Arbitrary code execution
Informations
Name GLSA-201612-05 First vendor Publication 2016-12-04
Vendor Gentoo Last vendor Modification 2016-12-04
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:C/I:C/A:C)
Cvss Base Score 9.3 Attack Range Network
Cvss Impact Score 10 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Pygments is vulnerable to remote code execution if an attacker is allowed to specify the font name.

Background

Pygments is a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.

Description

A vulnerability in FontManager's _get_nix_font_path function allows shell metacharacters to be passed in a font name.

Impact

A remote attacker could possibly execute arbitrary code with the privileges of the process.

Workaround

There is no known workaround at this time.

Resolution

All Pygments users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pygments-2.0.2-r1"

References

[ 1 ] CVE-2015-8557
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8557

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

https://security.gentoo.org/glsa/201612-05

Original Source

Url : http://security.gentoo.org/glsa/glsa-201612-05.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-78 Improper Sanitization of Special Elements used in an OS Command ('OS Command Injection') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 10
Os 4

Nessus® Vulnerability Scanner

Date Description
2016-12-05 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201612-05.nasl - Type : ACT_GATHER_INFO
2016-01-14 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-3445.nasl - Type : ACT_GATHER_INFO
2016-01-11 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_5f276780b6ce11e597315453ed2e2b49.nasl - Type : ACT_GATHER_INFO
2016-01-08 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-2862-1.nasl - Type : ACT_GATHER_INFO
2015-12-16 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2015-630.nasl - Type : ACT_GATHER_INFO
2015-12-16 Name : The remote Debian host is missing a security update.
File : debian_DLA-369.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
1
Date Informations
2016-12-06 13:26:15
  • Multiple Updates
2016-12-04 09:21:29
  • First insertion