CNVD-2016-00242

Vulnerability from cnvd - Published: 2016-01-18
VLAI Severity ?
Title
Pygments任意命令执行漏洞
Description
Pygments是一套语法高亮工具,它可使用在论坛、Wiki和其他Web应用中,并提供命令行工具和开发包。 Pygments的formatters/img.py文件中的‘FontManager._get_nix_font_path’函数存在安全漏洞,允许远程攻击者利用字体名称中的shell元字符执行任意命令。
Severity
Patch Name
Pygments任意命令执行漏洞的补丁
Patch Description
Pygments是一套语法高亮工具,它可使用在论坛、Wiki和其他Web应用中,并提供命令行工具和开发包。 Pygments的formatters/img.py文件中的‘FontManager._get_nix_font_path’函数存在安全漏洞,允许远程攻击者利用字体名称中的shell元字符执行任意命令。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载: http://pygments.org/

Reference
https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff
Impacted products
Name
Pygments Pygments 1.2.2-2.0.2
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2015-8557"
    }
  },
  "description": "Pygments\u662f\u4e00\u5957\u8bed\u6cd5\u9ad8\u4eae\u5de5\u5177\uff0c\u5b83\u53ef\u4f7f\u7528\u5728\u8bba\u575b\u3001Wiki\u548c\u5176\u4ed6Web\u5e94\u7528\u4e2d\uff0c\u5e76\u63d0\u4f9b\u547d\u4ee4\u884c\u5de5\u5177\u548c\u5f00\u53d1\u5305\u3002\r\n\r\nPygments\u7684formatters/img.py\u6587\u4ef6\u4e2d\u7684\u2018FontManager._get_nix_font_path\u2019\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u5141\u8bb8\u8fdc\u7a0b\u653b\u51fb\u8005\u5229\u7528\u5b57\u4f53\u540d\u79f0\u4e2d\u7684shell\u5143\u5b57\u7b26\u6267\u884c\u4efb\u610f\u547d\u4ee4\u3002",
  "discovererName": "unknown",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u7ecf\u53d1\u5e03\u4e86\u5347\u7ea7\u8865\u4e01\u4ee5\u4fee\u590d\u8fd9\u4e2a\u5b89\u5168\u95ee\u9898\uff0c\u8bf7\u5230\u5382\u5546\u7684\u4e3b\u9875\u4e0b\u8f7d\uff1a\r\nhttp://pygments.org/",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2016-00242",
  "openTime": "2016-01-18",
  "patchDescription": "Pygments\u662f\u4e00\u5957\u8bed\u6cd5\u9ad8\u4eae\u5de5\u5177\uff0c\u5b83\u53ef\u4f7f\u7528\u5728\u8bba\u575b\u3001Wiki\u548c\u5176\u4ed6Web\u5e94\u7528\u4e2d\uff0c\u5e76\u63d0\u4f9b\u547d\u4ee4\u884c\u5de5\u5177\u548c\u5f00\u53d1\u5305\u3002\r\n\r\nPygments\u7684formatters/img.py\u6587\u4ef6\u4e2d\u7684\u2018FontManager._get_nix_font_path\u2019\u51fd\u6570\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\uff0c\u5141\u8bb8\u8fdc\u7a0b\u653b\u51fb\u8005\u5229\u7528\u5b57\u4f53\u540d\u79f0\u4e2d\u7684shell\u5143\u5b57\u7b26\u6267\u884c\u4efb\u610f\u547d\u4ee4\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "Pygments\u4efb\u610f\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "Pygments Pygments 1.2.2-2.0.2"
  },
  "referenceLink": "https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff",
  "serverity": "\u9ad8",
  "submitTime": "2016-01-15",
  "title": "Pygments\u4efb\u610f\u547d\u4ee4\u6267\u884c\u6f0f\u6d1e"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…