Unsafe lookup-plugin results in Ansible
[UNKNOWN] ansible
At a glance
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 description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 4.743%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:[UNKNOWN] | ansible | Affected versions:ansible 2.3.1.0Show full version range for ansibleansible 2.4.0.0 |
| Vendor:Canonical | ubuntu linux | Affected versions:16.04Show full version range for ubuntu linux18.0419.04
|
| Vendor:redhat | openshift container platform | Affected versions:3.3Show full version range for openshift container platform3.43.5
|
| Vendor:redhat | openstack | Affected versions:10Show full version range for openstack11
|
| Vendor:redhat | storage console | Affected versions:2.0Show full version range for storage console
|
| Vendor:redhat | virtualization | Affected versions:4.1Show full version range for virtualization
|
| Vendor:redhat | virtualization manager | Affected versions:4.1Show full version range for virtualization manager
|
| Vendor:redhat | ansible engine | Affected versions:≥ 2.3.2.0, < 2.4.0.0Show full version range for ansible engine< 2.3.1.0
|
| Vendor:Debian | debian linux | Affected versions:9.0Show full version range for debian linux
|
| Vendor:redhat | gluster storage | Affected versions:3.2Show full version range for gluster storage
|
1–10 of 10 · Page 1 of 1
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2017-7481 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat · CVE List / CNA (cna)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N[email protected] · NVD (Secondary)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences