rhsa-2018_2150
Vulnerability from csaf_redhat
Published
2018-07-10 09:49
Modified
2024-11-14 23:43
Summary
Red Hat Security Advisory: ansible security and bug fix update
Notes
Topic
An update for ansible is now available for Ansible Engine 2.5.
Red Hat Product Security has rated this update as having a security impact of Moderate. 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.
Details
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.5.6)
Security fix(es):
* ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution (CVE-2018-10874)
* ansible: ansible.cfg is being read from current working directory allowing possible code execution (CVE-2018-10875)
For more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.
This issue was discovered by Brian Coca (Red Hat), and Michael Scherer (OSAS).
Bug Fix(es):
* Restore module_utils.basic.BOOLEANS variable for backwards compatibility with the module API in older ansible releases.
* lineinfile - add warning when using an empty regexp (https://github.com/ansible/ansible/issues/29443)
* apt - fix apt-mark on debian6 (https://github.com/ansible/ansible/pull/41530)
* copy module - fixed recursive copy with relative paths (https://github.com/ansible/ansible/pull/40166)
* correct debug display for all cases https://github.com/ansible/ansible/pull/41331
* eos_l2_interface - fix eapi (https://github.com/ansible/ansible/pull/42270)
* group_by - support implicit localhost (https://github.com/ansible/ansible/pull/41860)
* influxdb_query - fixed the use of the common return 'results' caused an unexpected fault. The return is renamed to 'query_results'
* junos_config - fix confirm commit timeout issue (https://github.com/ansible/ansible/pull/41527)
* lineinfile - fix insertbefore when used with BOF to not insert duplicate lines (https://github.com/ansible/ansible/issues/38219)
* nsupdate - allow hmac-sha384 https://github.com/ansible/ansible/pull/42209
* nxos_linkagg - fix issue (https://github.com/ansible/ansible/pull/41550).
* nxos_vxlan_vtep_vni - fix issue (https://github.com/ansible/ansible/pull/42240)
* uses correct conn info for reset_connection https://github.com/ansible/ansible/issues/27520
* correct service facts systemd detection of state https://github.com/ansible/ansible/issues/40809
* correctly check hostvars for vars term https://github.com/ansible/ansible/pull/41819
* vyos_vlan - fix aggregate configuration issues (https://github.com/ansible/ansible/pull/41638)
* win_domain - fixes typo in one of the AD cmdlets https://github.com/ansible/ansible/issues/41536
* win_iis_webapppool - redirect some module output to null so Ansible can read the output JSON https://github.com/ansible/ansible/issues/40874
* win_updates - Fixed issue where running win_updates on async fails without any error
* winrm - ensure pexpect is set to not echo the input on a failure and have a manual sanity check afterwards https://github.com/ansible/ansible/issues/41865
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Moderate" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "An update for ansible is now available for Ansible Engine 2.5.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. 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.", "title": "Topic" }, { "category": "general", "text": "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.\n\nThe following packages have been upgraded to a newer upstream version: ansible (2.5.6)\n\nSecurity fix(es):\n\n* ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution (CVE-2018-10874)\n\n* ansible: ansible.cfg is being read from current working directory allowing possible code execution (CVE-2018-10875)\n\nFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.\n\nThis issue was discovered by Brian Coca (Red Hat), and Michael Scherer (OSAS).\n\nBug Fix(es):\n\n* Restore module_utils.basic.BOOLEANS variable for backwards compatibility with the module API in older ansible releases.\n\n* lineinfile - add warning when using an empty regexp (https://github.com/ansible/ansible/issues/29443)\n\n* apt - fix apt-mark on debian6 (https://github.com/ansible/ansible/pull/41530)\n\n* copy module - fixed recursive copy with relative paths (https://github.com/ansible/ansible/pull/40166)\n\n* correct debug display for all cases https://github.com/ansible/ansible/pull/41331\n\n* eos_l2_interface - fix eapi (https://github.com/ansible/ansible/pull/42270)\n\n* group_by - support implicit localhost (https://github.com/ansible/ansible/pull/41860)\n\n* influxdb_query - fixed the use of the common return \u0027results\u0027 caused an unexpected fault. The return is renamed to \u0027query_results\u0027\n\n* junos_config - fix confirm commit timeout issue (https://github.com/ansible/ansible/pull/41527)\n\n* lineinfile - fix insertbefore when used with BOF to not insert duplicate lines (https://github.com/ansible/ansible/issues/38219)\n\n* nsupdate - allow hmac-sha384 https://github.com/ansible/ansible/pull/42209\n\n* nxos_linkagg - fix issue (https://github.com/ansible/ansible/pull/41550).\n\n* nxos_vxlan_vtep_vni - fix issue (https://github.com/ansible/ansible/pull/42240)\n\n* uses correct conn info for reset_connection https://github.com/ansible/ansible/issues/27520\n\n* correct service facts systemd detection of state https://github.com/ansible/ansible/issues/40809\n\n* correctly check hostvars for vars term https://github.com/ansible/ansible/pull/41819\n\n* vyos_vlan - fix aggregate configuration issues (https://github.com/ansible/ansible/pull/41638)\n\n* win_domain - fixes typo in one of the AD cmdlets https://github.com/ansible/ansible/issues/41536\n\n* win_iis_webapppool - redirect some module output to null so Ansible can read the output JSON https://github.com/ansible/ansible/issues/40874\n\n* win_updates - Fixed issue where running win_updates on async fails without any error\n\n* winrm - ensure pexpect is set to not echo the input on a failure and have a manual sanity check afterwards https://github.com/ansible/ansible/issues/41865", "title": "Details" }, { "category": "legal_disclaimer", "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.", "title": "Terms of Use" } ], "publisher": { "category": "vendor", "contact_details": "https://access.redhat.com/security/team/contact/", "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.", "name": "Red Hat Product Security", "namespace": "https://www.redhat.com" }, "references": [ { "category": "self", "summary": "https://access.redhat.com/errata/RHSA-2018:2150", "url": "https://access.redhat.com/errata/RHSA-2018:2150" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#moderate", "url": "https://access.redhat.com/security/updates/classification/#moderate" }, { "category": "external", "summary": "1596528", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1596528" }, { "category": "external", "summary": "1596533", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1596533" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_2150.json" } ], "title": "Red Hat Security Advisory: ansible security and bug fix update", "tracking": { "current_release_date": "2024-11-14T23:43:54+00:00", "generator": { "date": "2024-11-14T23:43:54+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.2.1" } }, "id": "RHSA-2018:2150", "initial_release_date": "2018-07-10T09:49:17+00:00", "revision_history": [ { "date": "2018-07-10T09:49:17+00:00", "number": "1", "summary": "Initial version" }, { "date": "2018-07-10T09:49:17+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-14T23:43:54+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat Ansible Engine 2.5 for RHEL 7 Server", "product": { "name": "Red Hat Ansible Engine 2.5 for RHEL 7 Server", "product_id": "7Server-Ansible-2.5", "product_identification_helper": { "cpe": "cpe:/a:redhat:ansible_engine:2.5::el7" } } } ], "category": "product_family", "name": "Red Hat Ansible Engine" }, { "branches": [ { "category": "product_version", "name": "ansible-0:2.5.6-1.el7ae.src", "product": { "name": "ansible-0:2.5.6-1.el7ae.src", "product_id": "ansible-0:2.5.6-1.el7ae.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/ansible@2.5.6-1.el7ae?arch=src" } } } ], "category": "architecture", "name": "src" }, { "branches": [ { "category": "product_version", "name": "ansible-0:2.5.6-1.el7ae.noarch", "product": { "name": "ansible-0:2.5.6-1.el7ae.noarch", "product_id": "ansible-0:2.5.6-1.el7ae.noarch", "product_identification_helper": { "purl": "pkg:rpm/redhat/ansible@2.5.6-1.el7ae?arch=noarch" } } }, { "category": "product_version", "name": "ansible-doc-0:2.5.6-1.el7ae.noarch", "product": { "name": "ansible-doc-0:2.5.6-1.el7ae.noarch", "product_id": "ansible-doc-0:2.5.6-1.el7ae.noarch", "product_identification_helper": { "purl": "pkg:rpm/redhat/ansible-doc@2.5.6-1.el7ae?arch=noarch" } } } ], "category": "architecture", "name": "noarch" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "ansible-0:2.5.6-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.5 for RHEL 7 Server", "product_id": "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch" }, "product_reference": "ansible-0:2.5.6-1.el7ae.noarch", "relates_to_product_reference": "7Server-Ansible-2.5" }, { "category": "default_component_of", "full_product_name": { "name": "ansible-0:2.5.6-1.el7ae.src as a component of Red Hat Ansible Engine 2.5 for RHEL 7 Server", "product_id": "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src" }, "product_reference": "ansible-0:2.5.6-1.el7ae.src", "relates_to_product_reference": "7Server-Ansible-2.5" }, { "category": "default_component_of", "full_product_name": { "name": "ansible-doc-0:2.5.6-1.el7ae.noarch as a component of Red Hat Ansible Engine 2.5 for RHEL 7 Server", "product_id": "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" }, "product_reference": "ansible-doc-0:2.5.6-1.el7ae.noarch", "relates_to_product_reference": "7Server-Ansible-2.5" } ] }, "vulnerabilities": [ { "acknowledgments": [ { "names": [ "Michael Scherer" ], "organization": "OSAS" } ], "cve": "CVE-2018-10874", "cwe": { "id": "CWE-20", "name": "Improper Input Validation" }, "discovery_date": "2018-06-28T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "1596528" } ], "notes": [ { "category": "description", "text": "In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker\u0027s control, allowing to run arbitrary code as a result.", "title": "Vulnerability description" }, { "category": "summary", "text": "ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution", "title": "Vulnerability summary" }, { "category": "other", "text": "Red Hat Gluster Storage 3 and Red Hat Ceph Storage 3 ships the affected version of ansible, but they no longer maintain their own version of ansible. Both the products will consume fixes directly from ansible repository.", "title": "Statement" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch", "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src", "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2018-10874" }, { "category": "external", "summary": "RHBZ#1596528", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1596528" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2018-10874", "url": "https://www.cve.org/CVERecord?id=CVE-2018-10874" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-10874", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-10874" } ], "release_date": "2018-06-29T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2018-07-10T09:49:17+00:00", "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch", "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src", "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2018:2150" } ], "scores": [ { "cvss_v3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" }, "products": [ "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch", "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src", "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" ] } ], "threats": [ { "category": "impact", "details": "Moderate" } ], "title": "ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution" }, { "acknowledgments": [ { "names": [ "Brian Coca" ], "organization": "Red Hat", "summary": "This issue was discovered by Red Hat." } ], "cve": "CVE-2018-10875", "cwe": { "id": "CWE-426", "name": "Untrusted Search Path" }, "discovery_date": "2018-06-29T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "1596533" } ], "notes": [ { "category": "description", "text": "It was found that ansible.cfg is being read from the current working directory, which can be made to point to plugin or module paths that are under control of the attacker. This could allow an attacker to execute arbitrary code.", "title": "Vulnerability description" }, { "category": "summary", "text": "ansible: ansible.cfg is being read from current working directory allowing possible code execution", "title": "Vulnerability summary" }, { "category": "other", "text": "Red Hat Gluster Storage 3 and Red Hat Ceph Storage 3 ships the affected version of ansible, but they no longer maintain their own version of ansible. Both the products will consume fixes directly from ansible repository.", "title": "Statement" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch", "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src", "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2018-10875" }, { "category": "external", "summary": "RHBZ#1596533", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1596533" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2018-10875", "url": "https://www.cve.org/CVERecord?id=CVE-2018-10875" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-10875", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-10875" } ], "release_date": "2018-06-29T00:00:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2018-07-10T09:49:17+00:00", "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch", "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src", "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2018:2150" } ], "scores": [ { "cvss_v3": { "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "baseScore": 7.8, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "version": "3.0" }, "products": [ "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.noarch", "7Server-Ansible-2.5:ansible-0:2.5.6-1.el7ae.src", "7Server-Ansible-2.5:ansible-doc-0:2.5.6-1.el7ae.noarch" ] } ], "threats": [ { "category": "impact", "details": "Moderate" } ], "title": "ansible: ansible.cfg is being read from current working directory allowing possible code execution" } ] }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.