Alerts This Week
Warning Icon 1 758
Alerts This Week
Warning Icon 1 758

Ubuntu 14.04 LTS USN-4897-2: Severe Pygments Denial of Service Threat

ubuntu
Calendar Grey August 14, 2023
Dist Ubuntu Esm H88
Ubuntu 14.04 has received security advisories addressing vulnerabilities in Pygments due to inadequate file handling, potentially permitting Denial of Service (DoS) attacks
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:

USN-4897-1 fixed several vulnerabilities in Pygments. This update provides

the corresponding update for Ubuntu 14.04 LTS.

Original advisory 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. (CVE-2021-27291)

It was discovered that Pygments incorrectly handled parsing certain

files. An attacker could possibly use this issue to cause a denial of

service. (CVE-2021-20270)

Update Instructions

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

Ubuntu 14.04 LTS (Available with Ubuntu Pro):
  python-pygments                 1.6+dfsg-1ubuntu1.1+esm1
  python3-pygments                1.6+dfsg-1ubuntu1.1+esm1

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

References

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

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

CVE-2021-20270, CVE-2021-27291

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-4897-2

Package Information

Get the latest News and Insights

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

Your message here