pysec-2016-32
Vulnerability from pysec
Published
2016-01-08 20:59
Modified
2021-08-27 03:22
Details

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.

Impacted products
Name purl
pygments pkg:pypi/pygments



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pygments",
        "purl": "pkg:pypi/pygments"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.2.2"
            },
            {
              "fixed": "2.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.2",
        "1.3",
        "1.3.1",
        "1.4",
        "1.5",
        "1.6",
        "1.6rc1",
        "2.0",
        "2.0.1",
        "2.0.2",
        "2.0rc1"
      ]
    }
  ],
  "aliases": [
    "CVE-2015-8557",
    "GHSA-fff8-4w9p-7v76"
  ],
  "details": "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.",
  "id": "PYSEC-2016-32",
  "modified": "2021-08-27T03:22:17.226462Z",
  "published": "2016-01-08T20:59:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2015/12/14/6"
    },
    {
      "type": "WEB",
      "url": "http://seclists.org/fulldisclosure/2015/Oct/4"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.ubuntu.com/usn/USN-2862-1"
    },
    {
      "type": "WEB",
      "url": "https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2015/12/14/17"
    },
    {
      "type": "WEB",
      "url": "http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://www.debian.org/security/2016/dsa-3445"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.gentoo.org/glsa/201612-05"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-fff8-4w9p-7v76"
    }
  ]
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…