Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-CDC685B5-1724-49A1-AD57-2EAAB68E9CC0 (CVE-2021-27291): py-pygments -- multiple DoS vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-CDC685B5-1724-49A1-AD57-2EAAB68E9CC0 (CVE-2021-27291): py-pygments -- multiple DoS vulnerabilities

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:P)
Published
03/17/2021
Created
09/05/2023
Added
09/01/2023
Modified
09/01/2023

Description

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.

Solution(s)

  • freebsd-upgrade-package-py310-pygments
  • freebsd-upgrade-package-py310-pygments-25
  • freebsd-upgrade-package-py311-pygments
  • freebsd-upgrade-package-py311-pygments-25
  • freebsd-upgrade-package-py37-pygments
  • freebsd-upgrade-package-py37-pygments-25
  • freebsd-upgrade-package-py38-pygments
  • freebsd-upgrade-package-py38-pygments-25
  • freebsd-upgrade-package-py39-pygments
  • freebsd-upgrade-package-py39-pygments-25

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;