Alerts This Week
Warning Icon 1 485
Alerts This Week
Warning Icon 1 485

Ubuntu 20.10 USN-4897-1 Pygments Denial Of Service Risk

ubuntu
Calendar Grey March 30, 2021
Dist Ubuntu Esm H88
The security bulletin USN-4897-1 from Ubuntu points out a flaw in Pygments that may result in possible denial of service vulnerabilities.
Pygments could be made to hang if it opened a specially crafted file.

Summary

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

Software Description:

- pygments: Generic syntax highlighter

Details:

Ben Caller discovered that Pygments incorrectly handled parsing certain

files. If a user or automated system were tricked into parsing a specially

crafted file, a remote attacker could cause Pygments to hang or consume

resources, 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.2

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

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

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

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

References

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

CVE-2021-27291

Severity
critical
Lowest
Low
Medium
High
Critical

March 30, 2021

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here