Upstream information

CVE-2021-27291 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Access Vector Network Network
Access Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1184812 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Image SLES12-SP4-Azure-BYOS
Image SLES12-SP4-SAP-Azure
Image SLES12-SP4-SAP-Azure-BYOS
Image SLES12-SP5-Azure-BYOS
Image SLES12-SP5-Azure-Basic-On-Demand
Image SLES12-SP5-Azure-HPC-BYOS
Image SLES12-SP5-Azure-HPC-On-Demand
Image SLES12-SP5-Azure-SAP-BYOS
Image SLES12-SP5-Azure-SAP-On-Demand
Image SLES12-SP5-Azure-Standard-On-Demand
  • python3-Pygments >= 2.4.2-10.7.1
Image SLES15-Azure-BYOS
Image SLES15-SAP-Azure
Image SLES15-SAP-Azure-BYOS
  • python3-Pygments >= 2.2.0-4.9.1
Image SLES15-SP1-Azure-BYOS
Image SLES15-SP1-Azure-HPC-BYOS
Image SLES15-SP1-SAP-Azure
Image SLES15-SP1-SAP-Azure-BYOS
Image SLES15-SP2-BYOS-Azure
Image SLES15-SP2-HPC-BYOS-Azure
Image SLES15-SP2-Manager-4-1-Proxy-BYOS-Azure
Image SLES15-SP2-Manager-4-1-Server-BYOS-Azure
Image SLES15-SP2-SAP-Azure
Image SLES15-SP2-SAP-BYOS-Azure
  • python3-Pygments >= 2.6.1-7.10.1
Image SLES15-SP3-Azure-Basic
Image SLES15-SP3-Azure-Standard
Image SLES15-SP3-BYOS-Azure
Image SLES15-SP3-HPC-Azure
Image SLES15-SP3-HPC-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Proxy-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Proxy-BYOS.20220512151041-Azure
Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Server-BYOS.20220512152541-Azure
Image SLES15-SP3-SAP-Azure
Image SLES15-SP3-SAP-BYOS-Azure
Image SLES15-SP3-SAPCAL-Azure
  • python3-Pygments >= 2.6.1-4.3.1
SUSE CaaS Platform 4.0
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SUSE-CAASP-4.0-2021-3840
SUSE Enterprise Storage 6
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-Storage-6-2021-3840
SUSE Linux Enterprise Desktop 15 SP2
SUSE Linux Enterprise High Performance Computing 15 SP2
SUSE Linux Enterprise Module for Basesystem 15 SP2
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server for SAP Applications 15 SP2
SUSE Linux Enterprise Storage 7
SUSE Manager Proxy 4.1
SUSE Manager Retail Branch Server 4.1
SUSE Manager Server 4.1
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-3840
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Basesystem 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Storage 7.1
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • python3-Pygments >= 2.6.1-4.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP3-2021-3839
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Module for Public Cloud 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 SP3
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 12 SP3
SUSE Linux Enterprise Server for SAP Applications 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • python-Pygments >= 2.4.2-10.7.1
  • python3-Pygments >= 2.4.2-10.7.1
Patchnames:
SUSE-SLE-Module-Public-Cloud-12-2021-3814
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-3840
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-LTSS-2021-3840
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • python3-Pygments >= 2.2.0-4.9.1
Patchnames:
SUSE-SLE-Product-HPC-15-2021-3841
SUSE Linux Enterprise Module for Package Hub 15 SP2
  • python2-Pygments >= 2.2.0-4.9.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP2-2021-3841
SUSE Linux Enterprise Module for Package Hub 15 SP3
  • python2-Pygments >= 2.2.0-4.9.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2021-3841
SUSE Linux Enterprise Server 15 SP1-BCL
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-BCL-2021-3840
SUSE Linux Enterprise Server 15 SP1-LTSS
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-3840
SUSE Linux Enterprise Server 15-LTSS
  • python3-Pygments >= 2.2.0-4.9.1
Patchnames:
SUSE-SLE-Product-SLES-15-2021-3841
SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • python3-Pygments >= 2.6.1-7.10.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP1-2021-3840
SUSE Linux Enterprise Server for SAP Applications 15
  • python3-Pygments >= 2.2.0-4.9.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2021-3841
openSUSE Leap 15.2
  • python3-Pygments >= 2.6.1-lp152.5.12.1
Patchnames:
openSUSE-2021-1521
openSUSE Leap 15.3
  • python2-Pygments >= 2.2.0-4.9.1
  • python3-Pygments >= 2.6.1-4.3.1
Patchnames:
openSUSE-SLE-15.3-2021-3839
openSUSE-SLE-15.3-2021-3841


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE CaaS Platform 4.0 python-Pygments Released
SUSE CaaS Platform 4.5 python-Pygments Released
SUSE Enterprise Storage 6 python-Pygments Released
SUSE Enterprise Storage 7 python-Pygments Released
SUSE Linux Enterprise Desktop 15 SP2 python-Pygments Released
SUSE Linux Enterprise Desktop 15 SP3 python-Pygments Released
SUSE Linux Enterprise Desktop 15 SP4 python-Pygments Released
SUSE Linux Enterprise High Performance Computing 12 python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 LTSS python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP1 ESPOS python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP2 python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP2 ESPOS python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP3 python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP4 python-Pygments Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-Pygments Released
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-Pygments Released
SUSE Linux Enterprise Module for Basesystem 15 SP4 python-Pygments Released
SUSE Linux Enterprise Module for Public Cloud 12 python-Pygments Released
SUSE Linux Enterprise Real Time 15 SP2 python-Pygments Released
SUSE Linux Enterprise Server 12 python-Pygments Released
SUSE Linux Enterprise Server 12 SP3 python-Pygments Released
SUSE Linux Enterprise Server 12 SP4 python-Pygments Released
SUSE Linux Enterprise Server 12 SP5 python-Pygments Released
SUSE Linux Enterprise Server 15 ESPOS python-Pygments Released
SUSE Linux Enterprise Server 15 LTSS python-Pygments Released
SUSE Linux Enterprise Server 15 SP1 LTSS python-Pygments Released
SUSE Linux Enterprise Server 15 SP2 python-Pygments Released
SUSE Linux Enterprise Server 15 SP2 LTSS python-Pygments Released
SUSE Linux Enterprise Server 15 SP3 python-Pygments Released
SUSE Linux Enterprise Server 15 SP4 python-Pygments Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 python-Pygments Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 12 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 15 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-Pygments Released
SUSE Linux Enterprise Storage 7 python-Pygments Released
SUSE Linux Enterprise Storage 7.1 python-Pygments Released
SUSE Manager Proxy 4.0 python-Pygments Released
SUSE Manager Proxy 4.1 python-Pygments Released
SUSE Manager Proxy 4.2 python-Pygments Released
SUSE Manager Proxy 4.3 python-Pygments Released
SUSE Manager Retail Branch Server 4.0 python-Pygments Released
SUSE Manager Retail Branch Server 4.1 python-Pygments Released
SUSE Manager Retail Branch Server 4.2 python-Pygments Released
SUSE Manager Retail Branch Server 4.3 python-Pygments Released
SUSE Manager Server 4.0 python-Pygments Released
SUSE Manager Server 4.1 python-Pygments Released
SUSE Manager Server 4.2 python-Pygments Released
SUSE Manager Server 4.3 python-Pygments Released
SUSE Package Hub 15 python-Pygments Unsupported
SUSE Package Hub 15 SP1 python-Pygments Unsupported
SUSE Package Hub 15 SP2 python-Pygments Released
SUSE Package Hub 15 SP3 python-Pygments Released
SUSE Package Hub 15 SP4 python-Pygments Released