CVE-2017-7481
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2017-7481
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Analyzed
- Published Version
- 2018-07-19T13:29:00
- Last Modified Date
- 2021-08-04T17:15:29
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:redhat:openshift_container_platform:3.3:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openshift_container_platform:3.4:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openshift_container_platform:3.5:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:openstack:11:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:storage_console:2.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:virtualization:4.1:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:a:redhat:virtualization_manager:4.1:*:*:*:*:*:*:* | 1 | OR | ||
AND | ||||
cpe:2.3:a:redhat:gluster_storage:3.2:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 0 | OR | ||
AND | ||||
cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* | 1 | OR | 2.3.1.0 | |
cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* | 1 | OR | 2.3.2.0 | 2.4.0.0 |
AND | ||||
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 1 | OR | ||
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 1 | OR | ||
AND | ||||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 | Patch Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481 | Issue Tracking Patch Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:2524 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1599 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1499 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1476 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1334 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2017:1244 | Vendor Advisory |
http://www.securityfocus.com/bid/98492 | Third Party Advisory VDB Entry |
https://usn.ubuntu.com/4072-1/ | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-7481 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7481 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:58:29 | Added to TrackCVE | |||
2022-12-03 10:12:51 | 2018-07-19T13:29Z | 2018-07-19T13:29:00 | CVE Published Date | updated |
2022-12-03 10:12:51 | 2021-08-04T17:15:29 | CVE Modified Date | updated | |
2022-12-03 10:12:51 | Analyzed | Vulnerability Status | updated |