Back to CVE catalog
CVE-2017-7481

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

Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.1

9.8Critical
Published:
Updated:
EPSS:
4.743%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:[UNKNOWN]ansibleAffected versions:
ansible 2.3.1.0Show full version range for ansible
ansible 2.4.0.0
Vendor:Canonicalubuntu linuxAffected versions:
16.04Show full version range for ubuntu linux
18.0419.04
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatopenshift container platformAffected versions:
3.3Show full version range for openshift container platform
3.43.5
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatopenstackAffected versions:
10Show full version range for openstack
11
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatstorage consoleAffected versions:
2.0Show full version range for storage console
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatvirtualizationAffected versions:
4.1Show full version range for virtualization
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatvirtualization managerAffected versions:
4.1Show full version range for virtualization manager
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatansible engineAffected versions:
≥ 2.3.2.0, < 2.4.0.0Show full version range for ansible engine
< 2.3.1.0
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:Debiandebian linuxAffected versions:
9.0Show full version range for debian linux
  • CPE applicability can depend on other products or environments. Consult the full source configuration.
Vendor:redhatgluster storageAffected versions:
3.2Show full version range for gluster storage
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

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:H
CVE-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:H
redhat · 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:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories15

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