Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Virtualization
  • Red Hat Identity Management
  • Red Hat Directory Server
  • Red Hat Certificate System
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Update Infrastructure
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat CloudForms
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Online
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Thorntail
  • Red Hat build of Eclipse Vert.x
  • Red Hat build of OpenJDK
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Integration
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
  • Red Hat JBoss Data Virtualization
  • Red Hat Process Automation
  • Red Hat Process Automation Manager
  • Red Hat Decision Manager
All Products
Red Hat Product Errata RHSA-2018:2150 - Security Advisory
Issued:
2018-07-10
Updated:
2018-07-10

RHSA-2018:2150 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Moderate: ansible security and bug fix update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

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.

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.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

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

Affected Products

  • Red Hat Ansible Engine 2.5 x86_64
  • Red Hat Ansible Engine 2.5 ppc64le

Fixes

  • BZ - 1596528 - CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution
  • BZ - 1596533 - CVE-2018-10875 ansible: ansible.cfg is being read from current working directory allowing possible code execution

CVEs

  • CVE-2018-10874
  • CVE-2018-10875

References

  • https://access.redhat.com/security/updates/classification/#moderate
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Ansible Engine 2.5

SRPM
ansible-2.5.6-1.el7ae.src.rpm SHA-256: ff33013f2b9ab601ce7fbc5f89c1a395c17b1703c27989babf8b73e08b170b62
x86_64
ansible-2.5.6-1.el7ae.noarch.rpm SHA-256: ac60a9d8b4214e027e31313be370e3de632f4f5982f71a0e740662f2c8719c40
ansible-doc-2.5.6-1.el7ae.noarch.rpm SHA-256: 6db64e4a8f623bd83ff7501ae87d559a30eac58e824639da8f0d7a3f400e267e
ppc64le
ansible-2.5.6-1.el7ae.noarch.rpm SHA-256: ac60a9d8b4214e027e31313be370e3de632f4f5982f71a0e740662f2c8719c40
ansible-doc-2.5.6-1.el7ae.noarch.rpm SHA-256: 6db64e4a8f623bd83ff7501ae87d559a30eac58e824639da8f0d7a3f400e267e

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2023 Red Hat, Inc.
  • Privacy Statement
  • Customer Portal Terms of Use
  • All Policies and Guidelines
Red Hat Summit
Twitter