製品・ソフトウェアに関する情報
Pygments の formatters/img.py の FontManager._get_nix_font_path 関数における任意のコマンドを実行される脆弱性
Title Pygments の formatters/img.py の FontManager._get_nix_font_path 関数における任意のコマンドを実行される脆弱性
Summary

Pygments の formatters/img.py の FontManager._get_nix_font_path 関数には、任意のコマンドを実行される脆弱性が存在します。

Possible impacts 第三者により、フォント名のシェルのメタ文字を介して、任意のコマンドを実行される可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Aug. 21, 2015, midnight
Registration Date Jan. 14, 2016, 4:52 p.m.
Last Update Jan. 14, 2016, 4:52 p.m.
CVSS2.0 : 危険
Score 9.3
Vector AV:N/AC:M/Au:N/C:C/I:C/A:C
Affected System
Canonical
Ubuntu 12.04 LTS
Ubuntu 14.04 LTS
Ubuntu 15.04
Ubuntu 15.10
Ubuntu 12.04 LTS
Ubuntu 14.04 LTS
Ubuntu 15.04
Ubuntu 15.10
Pygments
Pygments 1.2.2 から 2.0.2
Pygments 1.2.2 から 2.0.2
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2016年01月14日]
  掲載
Feb. 17, 2018, 10:37 a.m.
0 [2016年01月14日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2015-8557
Summary

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.

Publication Date Jan. 9, 2016, 5:59 a.m.
Registration Date Jan. 26, 2021, 2:58 p.m.
Last Update Nov. 21, 2024, 11:38 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:pygments:pygments:1.6:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:2.0:rc1:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:1.3.1:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:2.0.1:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:1.4:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:1.3:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:1.6:rc1:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:2.0:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:1.5:*:*:*:*:*:*:*
cpe:2.3:a:pygments:pygments:1.2.2:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List