Vulnerability Name:

CVE-2014-4966 (CCN-94755)

Assigned:2014-07-22
Published:2014-07-22
Updated:2020-02-26
Summary:Ansible before 1.6.7 does not prevent inventory data with "{{" and "lookup" substrings, and does not prevent remote data with "{{" substrings, which allows remote attackers to execute arbitrary code via (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.5 Medium (Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.5 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-74
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: BugTraq Mailing List, Mon Jul 21 2014 - 20:36:37 CDT
[oCERT-2014-004] Ansible input sanitization errors

Source: MITRE
Type: CNA
CVE-2014-4966

Source: CCN
Type: oss-security Mailing List, Tue, 22 Jul 2014 03:36:37 +0200
[oCERT-2014-004] Ansible input sanitization errors

Source: MISC
Type: Third Party Advisory
http://www.ocert.org/advisories/ocert-2014-004.html

Source: CCN
Type: BID-68794
Ansible CVE-2014-4966 Arbitrary Code Execution Vulnerability

Source: XF
Type: UNKNOWN
ansible-cve20144966-code-exec(94755)

Source: CCN
Type: Ansible GIT Repository
Ansible

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/ansible/ansible/commit/62a1295a3e08cb6c3e9f1b2a1e6e5dcaeab32527

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2014-4966

Vulnerable Configuration:Configuration 1:
  • cpe:/a:redhat:ansible:*:*:*:*:*:*:*:* (Version < 1.6.7)

  • Configuration CCN 1:
  • cpe:/a:redhat:ansible:1.6.4:*:*:*:*:*:*:*
  • OR cpe:/a:redhat:ansible:1.6.5:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:111930
    P
    ansible-2.2.0.0-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:105498
    P
    ansible-2.2.0.0-1.1 on GA media (Moderate)
    2021-10-01
    oval:com.ubuntu.xenial:def:201449660000000
    V
    CVE-2014-4966 on Ubuntu 16.04 LTS (xenial) - medium.
    2014-07-22
    oval:com.ubuntu.artful:def:20144966000
    V
    CVE-2014-4966 on Ubuntu 17.10 (artful) - medium.
    2014-07-22
    oval:com.ubuntu.xenial:def:20144966000
    V
    CVE-2014-4966 on Ubuntu 16.04 LTS (xenial) - medium.
    2014-07-22
    oval:com.ubuntu.bionic:def:20144966000
    V
    CVE-2014-4966 on Ubuntu 18.04 LTS (bionic) - medium.
    2014-07-22
    oval:com.ubuntu.cosmic:def:201449660000000
    V
    CVE-2014-4966 on Ubuntu 18.10 (cosmic) - medium.
    2014-07-22
    oval:com.ubuntu.cosmic:def:20144966000
    V
    CVE-2014-4966 on Ubuntu 18.10 (cosmic) - medium.
    2014-07-22
    oval:com.ubuntu.bionic:def:201449660000000
    V
    CVE-2014-4966 on Ubuntu 18.04 LTS (bionic) - medium.
    2014-07-22
    oval:com.ubuntu.trusty:def:20144966000
    V
    CVE-2014-4966 on Ubuntu 14.04 LTS (trusty) - medium.
    2014-07-22
    BACK
    redhat ansible *
    redhat ansible 1.6.4
    redhat ansible 1.6.5