100DaysOfCode
100DaysOfCode copied to clipboard
CVE-2024-56201 (High) detected in Jinja2-2.11.2-py2.py3-none-any.whl
CVE-2024-56201 - High Severity Vulnerability
Vulnerable Library - Jinja2-2.11.2-py2.py3-none-any.whl
A very fast and expressive template engine.
Library home page: https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl
Path to dependency file: /day70/requirements.txt
Path to vulnerable library: /day70/requirements.txt,/day70/requirements.txt
Dependency Hierarchy:
- :x: Jinja2-2.11.2-py2.py3-none-any.whl (Vulnerable Library)
Found in HEAD commit: c88b9429eb68a85b22f0e39cac7bf20b89cb6709
Found in base branch: master
Vulnerability Details
Jinja is an extensible templating engine. 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.
Publish Date: 2024-12-23
URL: CVE-2024-56201
CVSS 3 Score Details (8.8)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://github.com/pallets/jinja/security/advisories/GHSA-gmj6-6f8f-6699
Release Date: 2024-12-23
Fix Resolution: 3.1.5
Step up your Open Source Security Game with Mend here