CWE
79
Advisory Published

USN-6599-1: Jinja2 vulnerabilities

First published: Thu Jan 25 2024(Updated: )

Yeting Li discovered that Jinja incorrectly handled certain regex. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2020-28493) It was discovered that Jinja incorrectly handled certain HTML passed with xmlatter filter. An attacker could inject arbitrary HTML attributes keys and values potentially leading to XSS. (CVE-2024-22195)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python3-jinja2<3.1.2-1ubuntu0.23.10.1
3.1.2-1ubuntu0.23.10.1
Ubuntu=23.10
All of
ubuntu/python3-jinja2<3.0.3-1ubuntu0.1
3.0.3-1ubuntu0.1
Ubuntu=22.04
All of
ubuntu/python-jinja2<2.10.1-2ubuntu0.2
2.10.1-2ubuntu0.2
Ubuntu=20.04
All of
ubuntu/python3-jinja2<2.10.1-2ubuntu0.2
2.10.1-2ubuntu0.2
Ubuntu=20.04
All of
ubuntu/python-jinja2<2.10-1ubuntu0.18.04.1+esm1
2.10-1ubuntu0.18.04.1+esm1
Ubuntu=18.04
All of
ubuntu/python3-jinja2<2.10-1ubuntu0.18.04.1+esm1
2.10-1ubuntu0.18.04.1+esm1
Ubuntu=18.04
All of
ubuntu/python-jinja2<2.8-1ubuntu0.1+esm2
2.8-1ubuntu0.1+esm2
Ubuntu=16.04
All of
ubuntu/python3-jinja2<2.8-1ubuntu0.1+esm2
2.8-1ubuntu0.1+esm2
Ubuntu=16.04
All of
ubuntu/python-jinja2<2.7.2-2ubuntu0.1~esm2
2.7.2-2ubuntu0.1~esm2
Ubuntu=14.04
All of
ubuntu/python3-jinja2<2.7.2-2ubuntu0.1~esm2
2.7.2-2ubuntu0.1~esm2
Ubuntu=14.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of USN-6599-1?

    USN-6599-1 addresses a denial of service vulnerability identified in Jinja that could be exploited by attackers.

  • How do I fix USN-6599-1?

    To resolve USN-6599-1, upgrade to the recommended package versions of python3-jinja2 or python-jinja2 as specified in the advisory.

  • Which versions of Ubuntu are affected by USN-6599-1?

    USN-6599-1 affects Ubuntu 14.04 LTS, 16.04 LTS, 18.04 LTS, and 20.04 LTS.

  • What is Jinja and why is USN-6599-1 important?

    Jinja is a templating engine for Python, and the vulnerabilities addressed in USN-6599-1 may allow denial of service attacks, impacting application availability.

  • Who discovered the vulnerability leading to USN-6599-1?

    The vulnerability that led to USN-6599-1 was discovered by Yeting Li.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203