PT-2017-3949 · Red Hat+3 · Ansible+3
Jimi-C
·
Publicado
2017-05-08
·
Atualizado
2026-06-03
·
CVE-2017-7481
CVSS v3.1
9.8
Crítica
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Ansible versions 2.3.1.0 and 2.4.0.0 and earlier
Description
The issue is related to insufficient input validation in Ansible. An attacker could exploit this by controlling the results of
lookup() calls, injecting Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.Recommendations
For Ansible versions prior to 2.3.1.0 and 2.4.0.0, update to version 2.3.1.0 or 2.4.0.0 or later to resolve the issue.
As a temporary workaround, consider disabling the
jinja2 templating language until a patch is available.
Restrict access to the lookup() function to minimize the risk of exploitation.Correção
RCE
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Alt Linux
Ansible
Ubuntu
Jinja2