USN-4885-1: Pygments vulnerability

Published Mar 22, 2021
·
Updated

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.

Affected Software

14 affected componentsFixes available
All of the following
ubuntu/python3-pygments<2.3.1+dfsg-4ubuntu0.1
2.3.1+dfsg-4ubuntu0.1
Ubuntu Ubuntu=20.10
All of the following
ubuntu/python-pygments<2.3.1+dfsg-1ubuntu2.1
2.3.1+dfsg-1ubuntu2.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python3-pygments<2.3.1+dfsg-1ubuntu2.1
2.3.1+dfsg-1ubuntu2.1
Ubuntu Ubuntu=20.04
All of the following
ubuntu/python-pygments<2.2.0+dfsg-1ubuntu0.1
2.2.0+dfsg-1ubuntu0.1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python3-pygments<2.2.0+dfsg-1ubuntu0.1
2.2.0+dfsg-1ubuntu0.1
Ubuntu Ubuntu=18.04
All of the following
ubuntu/python-pygments<2.1+dfsg-1ubuntu0.1
2.1+dfsg-1ubuntu0.1
Ubuntu Ubuntu=16.04
All of the following
ubuntu/python3-pygments<2.1+dfsg-1ubuntu0.1
2.1+dfsg-1ubuntu0.1
Ubuntu Ubuntu=16.04

Event History

Mar 22, 2021
Advisory Published
12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this Pygments vulnerability?

The vulnerability ID for this Pygments vulnerability is USN-4885-1.

2

How does Pygments handle parsing SML files?

Pygments incorrectly handles parsing SML files.

3

What is the impact of this vulnerability?

If a user or automated system parses a specially crafted SML file, a remote attacker could cause Pygments to hang, resulting in a denial of service.

4

Which versions of Python-Pygments and Python3-Pygments are affected by this vulnerability?

The following versions of Python-Pygments and Python3-Pygments are affected: 2.3.1+dfsg-4ubuntu0.1, 2.3.1+dfsg-1ubuntu2.1, 2.2.0+dfsg-1ubuntu0.1, 2.1+dfsg-1ubuntu0.1.

5

How can I fix this Pygments vulnerability?

To fix this Pygments vulnerability, update Python-Pygments and Python3-Pygments to the specified remedy versions provided by Ubuntu.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203