Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-56201

8.8 · HIGH
Published Dec 23, 2024 palletsprojects CWE-150 EPSS 0.31% (23th pctl)

Overview

CVE-2024-56201 is a high-severity vulnerability affecting palletsprojects jinja. It was published on December 23, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

Jinja is an extensible templating engine. In versions on the 3.x branch prior to 3.1.5, a bug in the Jinja compiler allows an attacker that controls both the content and filename of a template to execute arbitrary Python code, regardless of if Jinja's sandbox is used. To exploit the vulnerability, an attacker needs to control both the filename and the contents of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates where the template author can also choose the template filename. This vulnerability is fixed in 3.1.5.

Remediation

Check the references section for vendor advisories and patches from palletsprojects. Update jinja to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
palletsprojects jinja >= 3.0.0, < 3.1.5 Affected

Frequently Asked Questions

What is CVE-2024-56201?

CVE-2024-56201 is a high-severity vulnerability affecting palletsprojects jinja. It was published on December 23, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2024-56201?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-56201?

Check the references section for vendor advisories and patches from palletsprojects. Update jinja to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-56201?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-56201 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.