Upstream information

CVE-2021-20270 at MITRE

Description

An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.

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
Attack Vector Network Network
Attack 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: 1183169 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Image SLES15-Azure-BYOS
Image SLES15-SAP-Azure
Image SLES15-SAP-Azure-BYOS
  • python3-Pygments >= 2.2.0-4.6.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-SP1-SAPCAL-Azure
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.7.1
SUSE CaaS Platform 4.0
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SUSE-CAASP-4.0-2021-3473
SUSE Enterprise Storage 6
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-Storage-6-2021-3473
SUSE Enterprise Storage 7.1
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 Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • python3-Pygments >= 2.6.1-2.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP3 GA python3-Pygments-2.6.1-2.1
SUSE Enterprise Storage 7
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 Manager Proxy 4.1
SUSE Manager Retail Branch Server 4.1
SUSE Manager Server 4.1
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-3473
SUSE Liberty Linux 8
  • babel >= 2.5.1-10.module+el8.5.0+11014+88fc0d0b
  • python-nose-docs >= 1.3.7-31.module+el8.5.0+12207+5c5719bc
  • python-psycopg2-doc >= 2.7.5-7.module+el8.1.0+3111+de3f2d8e
  • python-pymongo-doc >= 3.7.0-1.module+el8.4.0+9670+1849b5f9
  • python-sqlalchemy-doc >= 1.3.2-2.module+el8.3.0+6647+8d010749
  • python-virtualenv-doc >= 15.1.0-21.module+el8.5.0+12207+5c5719bc
  • python2 >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-Cython >= 0.28.1-7.module+el8.1.0+3111+de3f2d8e
  • python2-PyMySQL >= 0.8.0-10.module+el8.1.0+3111+de3f2d8e
  • python2-attrs >= 17.4.0-10.module+el8.1.0+3111+de3f2d8e
  • python2-babel >= 2.5.1-10.module+el8.5.0+11014+88fc0d0b
  • python2-backports >= 1.0-16.module+el8.4.0+9193+f3daf6ef
  • python2-backports-ssl_match_hostname >= 3.5.0.1-12.module+el8.4.0+9193+f3daf6ef
  • python2-bson >= 3.7.0-1.module+el8.5.0+10264+e5753a40
  • python2-chardet >= 3.0.4-10.module+el8.1.0+3111+de3f2d8e
  • python2-coverage >= 4.5.1-4.module+el8.1.0+3111+de3f2d8e
  • python2-debug >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-devel >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-dns >= 1.15.0-10.module+el8.1.0+3111+de3f2d8e
  • python2-docs >= 2.7.16-2.module+el8.1.0+3111+de3f2d8e
  • python2-docs-info >= 2.7.16-2.module+el8.1.0+3111+de3f2d8e
  • python2-docutils >= 0.14-12.module+el8.1.0+3111+de3f2d8e
  • python2-funcsigs >= 1.0.2-13.module+el8.1.0+3111+de3f2d8e
  • python2-idna >= 2.5-7.module+el8.1.0+3111+de3f2d8e
  • python2-ipaddress >= 1.0.18-6.module+el8.1.0+3111+de3f2d8e
  • python2-jinja2 >= 2.10-9.module+el8.5.0+10541+706bb066
  • python2-libs >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-lxml >= 4.2.3-5.module+el8.5.0+10534+22332931
  • python2-markupsafe >= 0.23-19.module+el8.1.0+3111+de3f2d8e
  • python2-mock >= 2.0.0-13.module+el8.1.0+3111+de3f2d8e
  • python2-nose >= 1.3.7-31.module+el8.5.0+12203+77770ab7
  • python2-numpy >= 1.14.2-16.module+el8.4.0+9406+221a4565
  • python2-numpy-doc >= 1.14.2-16.module+el8.4.0+9406+221a4565
  • python2-numpy-f2py >= 1.14.2-16.module+el8.4.0+9406+221a4565
  • python2-pip >= 9.0.3-18.module+el8.3.0+7707+eb4bba01
  • python2-pip-wheel >= 9.0.3-18.module+el8.3.0+7707+eb4bba01
  • python2-pluggy >= 0.6.0-8.module+el8.1.0+3111+de3f2d8e
  • python2-psycopg2 >= 2.7.5-7.module+el8.1.0+3111+de3f2d8e
  • python2-psycopg2-debug >= 2.7.5-7.module+el8.1.0+3111+de3f2d8e
  • python2-psycopg2-tests >= 2.7.5-7.module+el8.1.0+3111+de3f2d8e
  • python2-py >= 1.5.3-6.module+el8.1.0+3111+de3f2d8e
  • python2-pygments >= 2.2.0-22.module+el8.5.0+10788+a4cea9e0
  • python2-pymongo >= 3.7.0-1.module+el8.5.0+10264+e5753a40
  • python2-pymongo-gridfs >= 3.7.0-1.module+el8.5.0+10264+e5753a40
  • python2-pysocks >= 1.6.8-6.module+el8.1.0+3111+de3f2d8e
  • python2-pytest >= 3.4.2-13.module+el8.1.0+3111+de3f2d8e
  • python2-pytest-mock >= 1.9.0-4.module+el8.1.0+3111+de3f2d8e
  • python2-pytz >= 2017.2-12.module+el8.1.0+3111+de3f2d8e
  • python2-pyyaml >= 3.12-16.module+el8.1.0+3111+de3f2d8e
  • python2-requests >= 2.20.0-3.module+el8.2.0+4577+feefd9b8
  • python2-rpm-macros >= 3-38.module+el8.1.0+3111+de3f2d8e
  • python2-scipy >= 1.0.0-21.module+el8.5.0+10858+05337455
  • python2-setuptools >= 39.0.1-13.module+el8.4.0+9442+27d0e81c
  • python2-setuptools-wheel >= 39.0.1-13.module+el8.4.0+9442+27d0e81c
  • python2-setuptools_scm >= 1.15.7-6.module+el8.1.0+3111+de3f2d8e
  • python2-six >= 1.11.0-6.module+el8.4.0+9287+299307c7
  • python2-sqlalchemy >= 1.3.2-2.module+el8.3.0+6647+8d010749
  • python2-test >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-tkinter >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-tools >= 2.7.18-7.module+el8.5.0+12203+77770ab7
  • python2-urllib3 >= 1.24.2-3.module+el8.4.0+9193+f3daf6ef
  • python2-virtualenv >= 15.1.0-21.module+el8.5.0+12203+77770ab7
  • python2-wheel >= 0.31.1-3.module+el8.5.0+12203+77770ab7
  • python2-wheel-wheel >= 0.31.1-3.module+el8.5.0+12203+77770ab7
  • python3-PyMySQL >= 0.10.1-2.module+el8.4.0+9657+a4b6a102
  • python3-bson >= 3.7.0-1.module+el8.4.0+9670+1849b5f9
  • python3-distro >= 1.4.0-2.module+el8.1.0+3334+5cb623d7
  • python3-docs >= 3.6.7-2.module+el8.1.0+3334+5cb623d7
  • python3-docutils >= 0.14-12.module+el8.1.0+3334+5cb623d7
  • python3-nose >= 1.3.7-31.module+el8.5.0+12207+5c5719bc
  • python3-pygments >= 2.2.0-22.module+el8.5.0+10789+e4939b94
  • python3-pymongo >= 3.7.0-1.module+el8.4.0+9670+1849b5f9
  • python3-pymongo-gridfs >= 3.7.0-1.module+el8.4.0+9670+1849b5f9
  • python3-scipy >= 1.0.0-21.module+el8.5.0+10916+41bd434d
  • python3-sqlalchemy >= 1.3.2-2.module+el8.3.0+6646+6b4b10ec
  • python3-virtualenv >= 15.1.0-21.module+el8.5.0+12207+5c5719bc
  • python3-wheel >= 0.31.1-3.module+el8.5.0+12207+5c5719bc
  • python3-wheel-wheel >= 0.31.1-3.module+el8.5.0+12207+5c5719bc
  • python36 >= 3.6.8-38.module+el8.5.0+12207+5c5719bc
  • python36-debug >= 3.6.8-38.module+el8.5.0+12207+5c5719bc
  • python36-devel >= 3.6.8-38.module+el8.5.0+12207+5c5719bc
  • python36-rpm-macros >= 3.6.8-38.module+el8.5.0+12207+5c5719bc
  • resource-agents >= 4.1.1-98.el8
  • resource-agents-aliyun >= 4.1.1-98.el8
  • resource-agents-gcp >= 4.1.1-98.el8
  • resource-agents-paf >= 4.1.1-98.el8
Patchnames:
RHSA-2021:4139
RHSA-2021:4150
RHSA-2021:4151
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Basesystem 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • python3-Pygments >= 2.6.1-4.3.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP4 GA python3-Pygments-2.6.1-4.3.1
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Basesystem 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python3-Pygments >= 2.6.1-4.3.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP5 GA python3-Pygments-2.6.1-4.3.1
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-ESPOS-2021-3473
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-LTSS-2021-3473
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • python3-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE-SLE-Product-HPC-15-2021-1500
SUSE Linux Enterprise Module for Package Hub 15 SP2
  • python2-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP2-2021-1500
SUSE Linux Enterprise Module for Package Hub 15 SP3
  • python2-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2021-1500
SUSE Linux Enterprise Module for Package Hub 15 SP4
  • python2-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE Linux Enterprise Module for Package Hub 15 SP4 GA python-Pygments-2.2.0-4.9.1
SUSE Linux Enterprise Module for Package Hub 15 SP5
  • python2-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE Linux Enterprise Module for Package Hub 15 SP5 GA python-Pygments-2.2.0-4.9.1
SUSE Linux Enterprise Server 15 SP1-BCL
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-BCL-2021-3473
SUSE Linux Enterprise Server 15 SP1-LTSS
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-LTSS-2021-3473
SUSE Linux Enterprise Server 15-LTSS
  • python3-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE-SLE-Product-SLES-15-2021-1500
SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • python3-Pygments >= 2.6.1-7.7.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP1-2021-3473
SUSE Linux Enterprise Server for SAP Applications 15
  • python3-Pygments >= 2.2.0-4.6.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2021-1500
openSUSE Leap 15.2
  • python3-Pygments >= 2.6.1-lp152.5.9.1
Patchnames:
openSUSE-2021-1402
openSUSE Tumbleweed
  • python310-Pygments >= 2.16.1-2.1
  • python311-Pygments >= 2.16.1-2.1
  • python39-Pygments >= 2.16.1-2.1
Patchnames:
openSUSE Tumbleweed GA python310-Pygments-2.16.1-2.1


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. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Enterprise Storage 7.1 python-Pygments Already fixed
SUSE Linux Enterprise Desktop 15 SP5 python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 12 python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15 SP5 python-Pygments Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP5 python-Pygments Already fixed
SUSE Linux Enterprise Module for Package Hub 15 SP4 python-Pygments Released
SUSE Linux Enterprise Module for Package Hub 15 SP5 python-Pygments Released
SUSE Linux Enterprise Module for Public Cloud 12 python-Pygments Released
SUSE Linux Enterprise Real Time 15 SP3 python-Pygments Already fixed
SUSE Linux Enterprise Server 12 SP5 python-Pygments Released
SUSE Linux Enterprise Server 15 SP5 python-Pygments Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python-Pygments Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-Pygments Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-Pygments Already fixed
SUSE Manager Proxy 4.3 python-Pygments Already fixed
SUSE Manager Retail Branch Server 4.3 python-Pygments Already fixed
SUSE Manager Server 4.3 python-Pygments Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 15 python-Pygments Affected
SUSE Linux Enterprise High Performance Computing 15 SP1 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 Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4 python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-Pygments Already fixed
SUSE Linux Enterprise High Performance Computing 15-ESPOS python-Pygments Released
SUSE Linux Enterprise High Performance Computing 15-LTSS python-Pygments Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-Pygments Released
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-Pygments Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP4 python-Pygments Already fixed
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 Already fixed
SUSE Linux Enterprise Server 15 SP3-LTSS python-Pygments Already fixed
SUSE Linux Enterprise Server 15 SP4 python-Pygments Already fixed
SUSE Linux Enterprise Server 15 SP4-LTSS python-Pygments Already fixed
SUSE Linux Enterprise Server 15-ESPOS python-Pygments Unsupported
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 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 Already fixed
Products past their end of life and not receiving proactive updates anymore.
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 python-Pygments Affected
SUSE Linux Enterprise Desktop 15 SP1 python-Pygments Affected
SUSE Linux Enterprise Desktop 15 SP2 python-Pygments Released
SUSE Linux Enterprise Desktop 15 SP3 python-Pygments Already fixed
SUSE Linux Enterprise Module for Basesystem 15 python-Pygments Affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-Pygments Affected
SUSE Linux Enterprise Module for Package Hub 15 python-Pygments Released
SUSE Linux Enterprise Module for Package Hub 15 SP1 python-Pygments Released
SUSE Linux Enterprise Module for Package Hub 15 SP2 python-Pygments Released
SUSE Linux Enterprise Module for Package Hub 15 SP3 python-Pygments Released
SUSE Linux Enterprise Module for Public Cloud 15 SP1 python-Pygments Released
SUSE Linux Enterprise Module for Public Cloud 15 SP2 python-Pygments Released
SUSE Linux Enterprise Real Time 15 SP2 python-Pygments Released
SUSE Linux Enterprise Real Time 15 SP4 python-Pygments Already fixed
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 15 python-Pygments Affected
SUSE Linux Enterprise Server 15 SP1 python-Pygments Released
SUSE Linux Enterprise Server 15 SP1-BCL python-Pygments Released
SUSE Linux Enterprise Server 15 SP1-LTSS python-Pygments Released
SUSE Linux Enterprise Server 15 SP2-BCL python-Pygments Affected
SUSE Linux Enterprise Server 15 SP3-BCL python-Pygments Already fixed
SUSE Linux Enterprise Server 15-LTSS 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 Manager Proxy 4.0 python-Pygments Released
SUSE Manager Proxy 4.1 python-Pygments Released
SUSE Manager Proxy 4.2 python-Pygments Already fixed
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 Already fixed
SUSE Manager Server 4.0 python-Pygments Released
SUSE Manager Server 4.1 python-Pygments Released
SUSE Manager Server 4.2 python-Pygments Already fixed


SUSE Timeline for this CVE

CVE page created: Fri Mar 5 12:27:59 2021
CVE page last modified: Thu Feb 22 17:16:32 2024