Unrestricted Upload of File with Dangerous Type Affecting pygments package, versions <2.11.2+dfsg-2ubuntu0.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Unrestricted Upload of File with Dangerous Type vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2204-PYGMENTS-5797959
  • published22 Nov 2024
  • disclosed19 Jul 2023

Introduced: 19 Jul 2023

CVE-2022-40896  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 pygments to version 2.11.2+dfsg-2ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pygments package and not the pygments package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.

CVSS Scores

version 3.1