Search for packages
| purl | pkg:rpm/redhat/python-jinja2@3.0.1-6.el9?arch=2 |
| Next non-vulnerable version | None. |
| Latest non-vulnerable version | None. |
| Risk | 4.0 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-8vr3-83b4-hqd2
Aliases: CVE-2024-56326 GHSA-q2x7-8rv6-6q7h |
Jinja has a sandbox breakout through indirect reference to format method An oversight in how the Jinja sandboxed environment detects calls to `str.format` allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content 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. Jinja's sandbox does catch calls to `str.format` and ensures they don't escape the sandbox. However, it's possible to store a reference to a malicious string's `format` method, then pass that to a filter that calls it. No such filters are built-in to Jinja, but could be present through custom filters in an application. After the fix, such indirect calls are also handled by the sandbox. | There are no reported fixed by versions. |
|
VCID-jyfq-pjwy-n7gg
Aliases: CVE-2024-56201 GHSA-gmj6-6f8f-6699 |
Jinja has a sandbox breakout through malicious filenames 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. | There are no reported fixed by versions. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| This package is not known to fix vulnerabilities. | ||
| Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
|---|---|---|---|---|---|
| 2026-04-01T13:43:34.362990+00:00 | RedHat Importer | Affected by | VCID-jyfq-pjwy-n7gg | https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-56201.json | 38.0.0 |
| 2026-04-01T13:43:32.881552+00:00 | RedHat Importer | Affected by | VCID-8vr3-83b4-hqd2 | https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-56326.json | 38.0.0 |