p PatchFirst

PatchFirst · Vulnerabilidades recientes

Vulnerabilidades de jinja2

Vulnerabilidades publicadas para jinja2 en los últimos 30 días: 0. Incluidas en el catálogo KEV: 0.

Filtrar vulnerabilidades
Borrar filtros

Vulnerabilidades: 8

  1. USN-7343-2

    Sin evaluarCorrección disponible

    jinja2 regression

    USN-7343-1 fixed vulnerabilities in Jinja2. The update introduced a regression when attempting to import Jinja2 on Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. This update fixes the problem. We apologize for the inconvenience. Original advisory details: Rafal Krupinski discovered that Jinja2 did not properly restrict the execution of code in situations where templates are used maliciously. An attacker with control over a template's filename and content could potentially use this issue to enable the execution of arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2024-56201) It was discovered that Jinja2 sandboxe

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm5
    Publicación Actualización
  2. CVE-2025-27516

    Media · CVSS 5.4EPSS 0,51%Corrección disponible

    Jinja sandbox breakout through attr filter selecting format method

    Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed environment interacts with the |attr filter 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 use the |attr filter to get a reference to a string's pl

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm4
    Publicación Actualización
  3. CVE-2024-56326

    Media · CVSS 5.4EPSS 0,52%Corrección disponible

    Jinja has a sandbox breakout through indirect reference to format method

    Jinja is an extensible templating engine. Prior to 3.1.5, 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, the

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm3
    Publicación Actualización
  4. CVE-2024-56201

    Media · CVSS 5.4EPSS 0,31%Corrección disponible

    Jinja has a sandbox breakout through malicious filenames

    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.

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm3
    Publicación Actualización
  5. CVE-2024-34064

    Media · CVSS 5.4EPSS 0,98%Corrección disponible

    Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter

    Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for CVE-2024-22195 only addressed spaces but not other characters. Accepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` fil

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm2
    Publicación Actualización
  6. CVE-2024-22195

    Media · CVSS 5.4EPSS 0,89%Corrección disponible

    Jinja vulnerable to Cross-Site Scripting (XSS)

    Jinja is an extensible templating engine. Special placeholders in the template allow writing code similar to Python syntax. It is possible to inject arbitrary HTML attributes into the rendered HTML template, potentially leading to Cross-Site Scripting (XSS). The Jinja `xmlattr` filter can be abused to inject arbitrary HTML attribute keys and values, bypassing the auto escaping mechanism and potentially leading to XSS. It may also be possible to bypass attribute validation checks if they are blacklist-based.

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm1
    Publicación Actualización
  7. CVE-2020-28493

    Media · CVSS 5.3EPSS 3,59%Corrección disponible

    Regular Expression Denial of Service (ReDoS)

    This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.

    • Actualiza a 2.10-1ubuntu0.18.04.1+esm1
    Publicación Actualización
  8. CVE-2019-8341

    Crítica · CVSS 9.8EPSS 43,87%Código de explotación públicoSin corrección publicada

    CVE-2019-8341

    An issue was discovered in Jinja2 2.10. The from_string function is prone to Server Side Template Injection (SSTI) where it takes the "source" parameter as a template object, renders it, and then returns it. The attacker can exploit it with {{INJECTION COMMANDS}} in a URI. NOTE: The maintainer and multiple third parties believe that this vulnerability isn't valid because users shouldn't use untrusted templates without sandboxing

    Publicación Actualización

Comprueba tu servidor

Compara tu pila y las versiones instaladas con las bases actuales de vulnerabilidades.

Comprueba tu servidor →