Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1243468 - (CVE-2015-3908, CVE-2015-6240) CVE-2015-6240 CVE-2015-3908 ansible: multiple issues fixed in 1.9.2
CVE-2015-6240 CVE-2015-3908 ansible: multiple issues fixed in 1.9.2
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20150619,repo...
: Security
Depends On: 1243469 1243470
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-15 09:56 EDT by Vasyl Kaigorodov
Modified: 2017-05-12 03:05 EDT (History)
5 users (show)

See Also:
Fixed In Version: Ansible 1.9.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-12 03:05:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Comment 1 Vasyl Kaigorodov 2015-07-15 09:57:10 EDT
Created ansible tracking bugs for this issue:

Affects: fedora-all [bug 1243469]
Affects: epel-all [bug 1243470]
Comment 2 Vasyl Kaigorodov 2015-07-15 10:06:56 EDT
Additionally it was reported that versions of Ansible prior to 1.9.2 fail to adequately validate HTTPS certificates when using the get_url and uri 
modules, and when using the url and etcd lookup plugins. This allows for man-in-the-middle attacks on those connections.

The fix for this problem has been released as part of Ansible 1.9.2.

The Ansible playbook below is a proof-of-concept that can be used to safely validate the incorrect behaviour:

  - name: a playbook demonstrating MITM in ansible
    hosts: 127.0.0.1
    connection: local
    tasks:
    - name: this should fail
      get_url: url=https://kennethreitz.org/ dest="/tmp/shouldnotexist.html”

This playbook attempts to download a HTML file from a site presenting a certificate that is valid, but not for the site 
in question. Versions of Ansible from 1.9.2 onward correctly fail to validate the certificate, but earlier versions 
will download the file regardless and the playbook will successfully exit.

This issue was assigned CVE-2015-3908:
http://seclists.org/oss-sec/2015/q3/106
Comment 3 Adam Mariš 2015-08-18 08:09:52 EDT
Another CVE assignment:
http://seclists.org/oss-sec/2015/q3/378
Comment 4 Toshio Ernie Kuratomi 2015-08-18 12:40:25 EDT
Adam Mariš  - thanks for watching this -- I'm not on oss-seclist but I ocncur with their assessment (There's only one bug.  that bug was present in several ansible connection modules. the fix for each was roughly the same code.  Only the first commit hash is part of the fix for the security issue.  The other commits were only to fix non-security bugs and limitations in the initial fix).

If anyone here would like to let oss-sec know I agree with their assessment I would be grateful.

Note You need to log in before you can comment on or make changes to this bug.