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
Description Last Modified:  07/19/2018
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 9.8 CRITICAL
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (V3 legend)
Impact Score: 5.9
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

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

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.2

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

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

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


Change History

2 change records found - show changes

Quick Info

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