Advisory

PYSEC-2016-32

Also known as: CVE-2015-8557, GHSA-fff8-4w9p-7v76

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2016-01-08 20:59 UTC
Modified
2023-11-08 03:58 UTC

Affected packages and fixes

pygments

PyPI · All systems

Affected

  • introduced 1.2.2, fixed 2.1 (ecosystem)

Fixed versions

2.1

Fix

  • Fixed version 2.1
    pip install --upgrade pygments==2.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences