National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-7481 Detail

Current Description

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 9.8 CRITICAL
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Nist CVSS score does not match with CNA score
CNA:  Red Hat, Inc.
Base Score: 5.3 MEDIUM
Vector:  CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://www.securityfocus.com/bid/98492 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1244 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1334 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1476 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1499 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1599 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:2524 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481 Issue Tracking Patch Vendor Advisory
https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 Patch Third Party Advisory
https://usn.ubuntu.com/4072-1/

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST   Red Hat, Inc.  

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:redhat:openshift_container_platform:3.2
     Show Matching CPE(s)
 cpe:/a:redhat:openshift_container_platform:3.3
     Show Matching CPE(s)
 cpe:/a:redhat:openshift_container_platform:3.4
     Show Matching CPE(s)
 cpe:/a:redhat:openshift_container_platform:3.5
     Show Matching CPE(s)
 cpe:/a:redhat:openstack:10.0
     Show Matching CPE(s)
 cpe:/a:redhat:openstack:11.0
     Show Matching CPE(s)
 cpe:/a:redhat:virtualization:4.1
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:/a:redhat:gluster_storage:3.2
     Show Matching CPE(s)
Running on/with
 cpe:/o:redhat:enterprise_linux:7.0
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:/a:redhat:ansible_engine
     Show Matching CPE(s)
Up to (excluding)
2.3.1.0
 cpe:/a:redhat:ansible_engine:2.4.0.0
     Show Matching CPE(s)


Change History

4 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2017-7481
NVD Published Date:
07/19/2018
NVD Last Modified:
07/24/2019