Skip to content

pygmentize Remote Code Execution

High severity GitHub Reviewed Published May 15, 2024 to the GitHub Advisory Database • Updated May 15, 2024

Package

composer 3f/pygmentize (Composer)

Affected versions

< 1.2

Patched versions

1.2

Description

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

References

Published to the GitHub Advisory Database May 15, 2024
Reviewed May 15, 2024
Last updated May 15, 2024

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-77mv-mp2j-gxxh

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.