ID

VAR-202004-0071


CVE

CVE-2020-10691


TITLE

ansible-engine Past Traversal Vulnerability in

Trust: 0.8

sources: JVNDB: JVNDB-2020-005055

DESCRIPTION

An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system. ansible-engine Exists in a past traversal vulnerability.Information is tampered with and service operation is interrupted (DoS) It may be put into a state. Ansible is a computer system configuration manager from Ansible, USA. This product can be used to publish, manage and orchestrate computer systems. A path traversal vulnerability exists in Ansible. The vulnerability stems from the failure of network systems or products to properly filter resources or special elements in file paths. Attackers can use this vulnerability to access locations outside of the restricted directory. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 ==================================================================== Red Hat Security Advisory Synopsis: Important: Ansible security and bug fix update (2.9.7) Advisory ID: RHSA-2020:1542-01 Product: Red Hat Ansible Engine Advisory URL: https://access.redhat.com/errata/RHSA-2020:1542 Issue date: 2020-04-22 CVE Names: CVE-2020-1733 CVE-2020-1735 CVE-2020-1737 CVE-2020-1739 CVE-2020-1740 CVE-2020-1746 CVE-2020-1753 CVE-2020-10684 CVE-2020-10685 CVE-2020-10691 ==================================================================== 1. Summary: An update for ansible is now available for Ansible Engine 2 Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. 2. Relevant releases/architectures: Red Hat Ansible Engine 2 for RHEL 7 - noarch Red Hat Ansible Engine 2 for RHEL 8 - noarch 3. Description: Ansible is a simple model-driven configuration management, multi-node deployment, and remote-task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. The following packages have been upgraded to a newer upstream version: ansible (2.9.7) Bug Fix(es): * CVE-2020-10684 Ansible: code injection when using ansible_facts as a subkey * CVE-2020-10685 Ansible: modules which use files encrypted with vault are not properly cleaned up * CVE-2020-10691 Ansible: archive traversal vulnerability in ansible-galaxy collection install * CVE-2020-1733 ansible: insecure temporary directory when running become_user from become directive * CVE-2020-1735 ansible: path injection on dest parameter in fetch module * CVE-2020-1737 ansible: Extract-Zip function in win_unzip module does not check extracted path * CVE-2020-1739 ansible: svn module leaks password when specified as a parameter * CVE-2020-1740 ansible: secrets readable after ansible-vault edit * CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules * CVE-2020-1753 Ansible: kubectl connection plugin leaks sensitive information See: https://github.com/ansible/ansible/blob/v2.9.7/changelogs/CHANGELOG-v2.9.rs t for details on bug fixes in this release. 4. Solution: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 5. Bugs fixed (https://bugzilla.redhat.com/): 1801735 - CVE-2020-1733 ansible: insecure temporary directory when running become_user from become directive 1802085 - CVE-2020-1735 ansible: path injection on dest parameter in fetch module 1802154 - CVE-2020-1737 ansible: Extract-Zip function in win_unzip module does not check extracted path 1802178 - CVE-2020-1739 ansible: svn module leaks password when specified as a parameter 1802193 - CVE-2020-1740 ansible: secrets readable after ansible-vault edit 1805491 - CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules 1811008 - CVE-2020-1753 Ansible: kubectl connection plugin leaks sensitive information 1814627 - CVE-2020-10685 Ansible: modules which use files encrypted with vault are not properly cleaned up 1815519 - CVE-2020-10684 Ansible: code injection when using ansible_facts as a subkey 1817161 - CVE-2020-10691 Ansible: archive traversal vulnerability in ansible-galaxy collection install 6. Package List: Red Hat Ansible Engine 2 for RHEL 7: Source: ansible-2.9.7-1.el7ae.src.rpm noarch: ansible-2.9.7-1.el7ae.noarch.rpm ansible-test-2.9.7-1.el7ae.noarch.rpm Red Hat Ansible Engine 2 for RHEL 8: Source: ansible-2.9.7-1.el8ae.src.rpm noarch: ansible-2.9.7-1.el8ae.noarch.rpm ansible-test-2.9.7-1.el8ae.noarch.rpm These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key/ 7. References: https://access.redhat.com/security/cve/CVE-2020-1733 https://access.redhat.com/security/cve/CVE-2020-1735 https://access.redhat.com/security/cve/CVE-2020-1737 https://access.redhat.com/security/cve/CVE-2020-1739 https://access.redhat.com/security/cve/CVE-2020-1740 https://access.redhat.com/security/cve/CVE-2020-1746 https://access.redhat.com/security/cve/CVE-2020-1753 https://access.redhat.com/security/cve/CVE-2020-10684 https://access.redhat.com/security/cve/CVE-2020-10685 https://access.redhat.com/security/cve/CVE-2020-10691 https://access.redhat.com/security/updates/classification/#important 8. Contact: The Red Hat security contact is <secalert@redhat.com>. More contact details at https://access.redhat.com/security/team/contact/ Copyright 2020 Red Hat, Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIVAwUBXqBQdtzjgjWX9erEAQiAzA/+Ixc2vA1/QNQdZwcbTAoWl10xBXG2S5LL +KLCOTfHMB5e8BgGGiOnDEymEZ5SpLICs7NbHNJpZwPxEJ0SplJaVN9fy7Kg6Y4p KjWhrfaaGJL2f7tjlGSBcKhwWC5R9YQEZPSzzV4lvP4oVNT0liQLyGeDHieAG3jg mVcIaQp2yI8d3TPU35RK8XoDhOI/HqCBSrD+1V3G29PbuBkO/of6oyC/oJy5yzZr PypCWbvBiTkku2NYqqxYq94gCZypG+44+z4kYqKWSbBVEdkPJoLIA3/QDS8LE60A QnzSSV1PjKOv8AjDv4q9eH3nii3d2tfmyfr1UNVHCNCc8pEvKlx9ojb/TNB5RdYl wYcNAiUAQDRYOGmlnsPnfh/i+HGm+XccnLdlq9Kd0/HrpRaHVrgnQ4q8FCn8t2Vv JBjkrahA45gcxWRz1W4eoGGbkpnhtDc604yqT3TspqhRltHOoJjMahoZ0vi8ffv2 JjkR60dPtoWDii5Eb/wUN23DwlyCW1EsdsmZfHr355hKk5vsi+2CFMvQgW4tvG7v kCk3wvtckWXuGax543Vl1EBgBhEOt2FNlBpeG/Ge5HXvO8C77wqF1TIApK55hapI W2k5LGg1/s+iYCcpJt+fC7PatHhvmFzTkqfOZWcHnCJwVdTc9bE8yUXJ2sF9LpH/ ef20i0jkIrU=UR80 -----END PGP SIGNATURE----- -- RHSA-announce mailing list RHSA-announce@redhat.com https://www.redhat.com/mailman/listinfo/rhsa-announce

Trust: 2.43

sources: NVD: CVE-2020-10691 // JVNDB: JVNDB-2020-005055 // CNVD: CNVD-2020-20686 // VULMON: CVE-2020-10691 // PACKETSTORM: 157354 // PACKETSTORM: 157356

IOT TAXONOMY

category:['IoT']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2020-20686

AFFECTED PRODUCTS

vendor:redhatmodel:ansible enginescope:ltversion:2.9.7

Trust: 1.0

vendor:redhatmodel:ansible towerscope:eqversion:3.0

Trust: 1.0

vendor:redhatmodel:ansible enginescope:gteversion:2.9.0

Trust: 1.0

vendor:red hatmodel:ansible towerscope: - version: -

Trust: 0.8

vendor:red hatmodel:ansible enginescope:eqversion:2.9.7

Trust: 0.8

vendor:ansiblemodel:ansiblescope: - version: -

Trust: 0.6

sources: CNVD: CNVD-2020-20686 // JVNDB: JVNDB-2020-005055 // NVD: CVE-2020-10691

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2020-10691
value: MEDIUM

Trust: 1.0

secalert@redhat.com: CVE-2020-10691
value: MEDIUM

Trust: 1.0

NVD: JVNDB-2020-005055
value: MEDIUM

Trust: 0.8

CNVD: CNVD-2020-20686
value: MEDIUM

Trust: 0.6

CNNVD: CNNVD-202003-1677
value: MEDIUM

Trust: 0.6

VULMON: CVE-2020-10691
value: LOW

Trust: 0.1

nvd@nist.gov: CVE-2020-10691
severity: LOW
baseScore: 3.6
vectorString: AV:L/AC:L/AU:N/C:N/I:P/A:P
accessVector: LOCAL
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 3.9
impactScore: 4.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.1

NVD: JVNDB-2020-005055
severity: LOW
baseScore: 3.6
vectorString: AV:L/AC:L/AU:N/C:N/I:P/A:P
accessVector: LOCAL
accessComplexity: LOW
authentication: NONE
confidentialityImpact: NONE
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: NONE
impactScore: NONE
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.8

CNVD: CNVD-2020-20686
severity: MEDIUM
baseScore: 5.0
vectorString: AV:N/AC:L/AU:N/C:P/I:N/A:N
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: NONE
availabilityImpact: NONE
exploitabilityScore: 10.0
impactScore: 2.9
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

nvd@nist.gov: CVE-2020-10691
baseSeverity: MEDIUM
baseScore: 5.2
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: CHANGED
confidentialityImpact: NONE
integrityImpact: LOW
availabilityImpact: LOW
exploitabilityScore: 2.0
impactScore: 2.7
version: 3.1

Trust: 2.0

NVD: JVNDB-2020-005055
baseSeverity: MEDIUM
baseScore: 5.2
vectorString: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
attackVector: LOCAL
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: CHANGED
confidentialityImpact: NONE
integrityImpact: LOW
availabilityImpact: LOW
exploitabilityScore: NONE
impactScore: NONE
version: 3.0

Trust: 0.8

sources: CNVD: CNVD-2020-20686 // VULMON: CVE-2020-10691 // JVNDB: JVNDB-2020-005055 // CNNVD: CNNVD-202003-1677 // NVD: CVE-2020-10691 // NVD: CVE-2020-10691

PROBLEMTYPE DATA

problemtype:CWE-22

Trust: 1.8

sources: JVNDB: JVNDB-2020-005055 // NVD: CVE-2020-10691

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-202003-1677

TYPE

path traversal

Trust: 0.6

sources: CNNVD: CNNVD-202003-1677

CONFIGURATIONS

sources: JVNDB: JVNDB-2020-005055

PATCH

title:ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 #68596url:https://github.com/ansible/ansible/pull/68596

Trust: 0.8

title:Bug 1817161url:https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691

Trust: 0.8

title:Red Hat: Important: Ansible security and bug fix update (2.9.7)url:https://vulmon.com/vendoradvisory?qidtp=red_hat_security_advisories&qid=RHSA-20201541 - Security Advisory

Trust: 0.1

title:Red Hat: Important: Ansible security and bug fix update (2.9.7)url:https://vulmon.com/vendoradvisory?qidtp=red_hat_security_advisories&qid=RHSA-20201542 - Security Advisory

Trust: 0.1

sources: VULMON: CVE-2020-10691 // JVNDB: JVNDB-2020-005055

EXTERNAL IDS

db:NVDid:CVE-2020-10691

Trust: 3.3

db:JVNDBid:JVNDB-2020-005055

Trust: 0.8

db:PACKETSTORMid:157356

Trust: 0.7

db:CNVDid:CNVD-2020-20686

Trust: 0.6

db:AUSCERTid:ESB-2020.1407

Trust: 0.6

db:CNNVDid:CNNVD-202003-1677

Trust: 0.6

db:VULMONid:CVE-2020-10691

Trust: 0.1

db:PACKETSTORMid:157354

Trust: 0.1

sources: CNVD: CNVD-2020-20686 // VULMON: CVE-2020-10691 // JVNDB: JVNDB-2020-005055 // PACKETSTORM: 157354 // PACKETSTORM: 157356 // CNNVD: CNNVD-202003-1677 // NVD: CVE-2020-10691

REFERENCES

url:https://bugzilla.redhat.com/show_bug.cgi?id=cve-2020-10691

Trust: 1.7

url:https://github.com/ansible/ansible/pull/68596

Trust: 1.7

url:https://nvd.nist.gov/vuln/detail/cve-2020-10691

Trust: 1.6

url:https://access.redhat.com/security/cve/cve-2020-10691

Trust: 1.4

url:https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2020-10691

Trust: 0.8

url:https://vigilance.fr/vulnerability/ansible-core-write-access-via-galaxy-tar-extraction-32053

Trust: 0.6

url:https://www.auscert.org.au/bulletins/esb-2020.1407/

Trust: 0.6

url:https://packetstormsecurity.com/files/157356/red-hat-security-advisory-2020-1541-01.html

Trust: 0.6

url:https://access.redhat.com/errata/rhsa-2020:1541

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1753

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1740

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1746

Trust: 0.2

url:https://github.com/ansible/ansible/blob/v2.9.7/changelogs/changelog-v2.9.rs

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1733

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1735

Trust: 0.2

url:https://access.redhat.com/security/updates/classification/#important

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1737

Trust: 0.2

url:https://access.redhat.com/articles/11258

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-10685

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-10684

Trust: 0.2

url:https://access.redhat.com/security/team/contact/

Trust: 0.2

url:https://www.redhat.com/mailman/listinfo/rhsa-announce

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1737

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-10685

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1753

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1739

Trust: 0.2

url:https://bugzilla.redhat.com/):

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1746

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1739

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1733

Trust: 0.2

url:https://nvd.nist.gov/vuln/detail/cve-2020-1740

Trust: 0.2

url:https://access.redhat.com/security/team/key/

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-10684

Trust: 0.2

url:https://access.redhat.com/security/cve/cve-2020-1735

Trust: 0.2

url:https://cwe.mitre.org/data/definitions/22.html

Trust: 0.1

url:https://nvd.nist.gov

Trust: 0.1

url:https://access.redhat.com/errata/rhsa-2020:1542

Trust: 0.1

sources: CNVD: CNVD-2020-20686 // VULMON: CVE-2020-10691 // JVNDB: JVNDB-2020-005055 // PACKETSTORM: 157354 // PACKETSTORM: 157356 // CNNVD: CNNVD-202003-1677 // NVD: CVE-2020-10691

CREDITS

Red Hat

Trust: 0.8

sources: PACKETSTORM: 157354 // PACKETSTORM: 157356 // CNNVD: CNNVD-202003-1677

SOURCES

db:CNVDid:CNVD-2020-20686
db:VULMONid:CVE-2020-10691
db:JVNDBid:JVNDB-2020-005055
db:PACKETSTORMid:157354
db:PACKETSTORMid:157356
db:CNNVDid:CNNVD-202003-1677
db:NVDid:CVE-2020-10691

LAST UPDATE DATE

2024-11-23T19:52:25.807000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2020-20686date:2021-02-23T00:00:00
db:VULMONid:CVE-2020-10691date:2020-05-21T00:00:00
db:JVNDBid:JVNDB-2020-005055date:2020-06-05T00:00:00
db:CNNVDid:CNNVD-202003-1677date:2020-05-22T00:00:00
db:NVDid:CVE-2020-10691date:2024-11-21T04:55:51.900

SOURCES RELEASE DATE

db:CNVDid:CNVD-2020-20686date:2020-03-31T00:00:00
db:VULMONid:CVE-2020-10691date:2020-04-30T00:00:00
db:JVNDBid:JVNDB-2020-005055date:2020-06-05T00:00:00
db:PACKETSTORMid:157354date:2020-04-22T15:11:55
db:PACKETSTORMid:157356date:2020-04-22T15:12:11
db:CNNVDid:CNNVD-202003-1677date:2020-03-27T00:00:00
db:NVDid:CVE-2020-10691date:2020-04-30T17:15:11.957