=========================================================================Ubuntu Security Notice USN-4885-1
March 22, 2021

pygments vulnerability
=========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 20.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

pygments could be made to hang if it opened a specially crafted file.

Software Description:
- pygments: Generic syntax highlighter

Details:

It was discovered that Pygments incorrectly handled parsing SML files. If a
user or automated system were tricked into parsing a specially crafted SML
file, a remote attacker could cause Pygments to hang, resulting in a denial
of service.

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.10:
  python3-pygments                2.3.1+dfsg-4ubuntu0.1

Ubuntu 20.04 LTS:
  python-pygments                 2.3.1+dfsg-1ubuntu2.1
  python3-pygments                2.3.1+dfsg-1ubuntu2.1

Ubuntu 18.04 LTS:
  python-pygments                 2.2.0+dfsg-1ubuntu0.1
  python3-pygments                2.2.0+dfsg-1ubuntu0.1

Ubuntu 16.04 LTS:
  python-pygments                 2.1+dfsg-1ubuntu0.1
  python3-pygments                2.1+dfsg-1ubuntu0.1

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-4885-1
  CVE-2021-20270

Package Information:
  https://launchpad.net/ubuntu/+source/pygments/2.3.1+dfsg-4ubuntu0.1
  https://launchpad.net/ubuntu/+source/pygments/2.3.1+dfsg-1ubuntu2.1
  https://launchpad.net/ubuntu/+source/pygments/2.2.0+dfsg-1ubuntu0.1
  https://launchpad.net/ubuntu/+source/pygments/2.1+dfsg-1ubuntu0.1

Ubuntu 4885-1: Pygments vulnerability

March 22, 2021
pygments could be made to hang if it opened a specially crafted file.

Summary

Update Instructions

The problem can be corrected by updating your system to the following package versions: Ubuntu 20.10: python3-pygments 2.3.1+dfsg-4ubuntu0.1 Ubuntu 20.04 LTS: python-pygments 2.3.1+dfsg-1ubuntu2.1 python3-pygments 2.3.1+dfsg-1ubuntu2.1 Ubuntu 18.04 LTS: python-pygments 2.2.0+dfsg-1ubuntu0.1 python3-pygments 2.2.0+dfsg-1ubuntu0.1 Ubuntu 16.04 LTS: python-pygments 2.1+dfsg-1ubuntu0.1 python3-pygments 2.1+dfsg-1ubuntu0.1 In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-4885-1

CVE-2021-20270

Severity
March 22, 2021

Package Information

https://launchpad.net/ubuntu/+source/pygments/2.3.1+dfsg-4ubuntu0.1 https://launchpad.net/ubuntu/+source/pygments/2.3.1+dfsg-1ubuntu2.1 https://launchpad.net/ubuntu/+source/pygments/2.2.0+dfsg-1ubuntu0.1 https://launchpad.net/ubuntu/+source/pygments/2.1+dfsg-1ubuntu0.1

Related News