GHSA-fff8-4w9p-7v76

Suggest an improvement
Source
https://github.com/advisories/GHSA-fff8-4w9p-7v76
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fff8-4w9p-7v76/GHSA-fff8-4w9p-7v76.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fff8-4w9p-7v76
Aliases
Published
2022-05-17T02:37:56Z
Modified
2024-10-24T22:26:14.588075Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.5 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
Command Injection in Pygments
Details

The FontManager.getnixfontpath 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.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": "2016-01-08T20:59:00Z",
    "cwe_ids": [
        "CWE-78"
    ],
    "github_reviewed_at": "2022-06-03T15:40:31Z",
    "severity": "CRITICAL"
}
References

Affected packages

PyPI / pygments

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.2.2
Fixed
2.1

Affected versions

1.*
1.2.2
1.3
1.3.1
1.4
1.5
1.6rc1
1.6
2.*
2.0rc1
2.0
2.0.1
2.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-fff8-4w9p-7v76/GHSA-fff8-4w9p-7v76.json"