Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. 3f/pygmentize
  4. ›
  5. GHSA-77mv-mp2j-gxxh

GHSA-77mv-mp2j-gxxh: pygmentize Remote Code Execution

May 15, 2024

pygmentize is prone to remote code execution due to an unsafe sanitazation of user input when passed to the highlight function.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/3f/pygmentize/2017-05-15.yaml
  • github.com/advisories/GHSA-77mv-mp2j-gxxh
  • github.com/dedalozzo/pygmentize
  • github.com/dedalozzo/pygmentize/issues/1
  • github.com/dedalozzo/pygmentize/pull/3

Code Behaviors & Features

Detect and mitigate GHSA-77mv-mp2j-gxxh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2

Fixed versions

  • 1.2

Solution

Upgrade to version 1.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

packagist/3f/pygmentize/GHSA-77mv-mp2j-gxxh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.