EGI SVG Advisories

Advisory-SVG-CVE-2017-14491

Title:   EGI SVG ADVISORY [TLP:WHITE] Up to 'HIGH' risk dnsmasq multiple
         vulnerabilities [EGI-SVG-CVE-2017-14491]

Date:    2017-10-05
Updated:

Affected software and risk
==========================

Up to HIGH risk - multiple vulnerabilities concerning dnsmasq have been found
by Google [R 1]

Package : dnsmasq
CVE ID  : CVE-2017-14491 and several more - for list see [R 2]
Bug ID  :

Multiple vulnerabilities have been found in dnsmasq, the most important being
CVE-2017-14491.
By carefully constructing DNS requests and responses, dnsmasq could be made to
overflow an internal buffer on the heap, using content influenced by the
attacker.  This could potentially be used to achieve code execution. This is
only relevant in scenarios where the dnsmasq is facing end-users.


Actions required/recommended
============================

Sites running dnsmasq are recommended to update relevant components as soon as
possible.

Sites should be aware that if a public exploit is released which allows easy
exploitation this is likely to be elevated to 'Critical'.   In this case sites
will then be required to patch within 7 days or risk suspension.

=========================

Affected software details

dnsmasq 2.77 and earlier.

More information
================

Patches for these vulnerabilities have been made available in all linux
distributions, prior to the vulnerabilities being made public.

Component installation information
==================================

Sites are recommended to see relevant software providers details.

Sites running RedHat should see [R 3]

Sites running Debian should see [R 4]

Sites running Scientific Linux (SL6, SL7) should see [R 5]

Sites running Ubuntu should see [R 6]


TLP and URL
===========

** WHITE information - Unlimited distribution - see
https://go.egi.eu/tlp for distribution restrictions **

URL:   https://advisories.egi.eu/Advisory-SVG-CVE-2017-14491

Minor updates may be made without re-distribution to the sites


Comments
========

Comments or questions should be sent to svg-rat  at  mailman.egi.eu

If you find or become aware of another vulnerability which is relevant to EGI
you may report it by e-mail to

report-vulnerability at egi.eu

the EGI Software Vulnerability Group will take a look according to the
procedure defined in [R 7]


References
==========

[R 1] https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html

[R 2] https://access.redhat.com/security/vulnerabilities/3199382

[R 3] https://access.redhat.com/security/cve/CVE-2017-14491

[R 4] https://security-tracker.debian.org/tracker/CVE-2017-14491

[R 5] https://www.scientificlinux.org/?s=cve-2017-14491

[R 6] http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-14491.html

[R 7] https://documents.egi.eu/public/ShowDocument?docid=2538

Credit
======

SVG was alerted to this vulnerability by Mischa Salle.


Timeline
========
Yyyy-mm-dd  [EGI-SVG-2017-CVE-2017-14491]

2017-10-02 SVG alerted to this issue by Mischa Salle.
2017-10-03 Acknowledgement from the EGI SVG to the reporter
2017-10-03 Investigation of vulnerability and relevance to EGI carried out
2017-10-03 Advisory drafted
2017-10-05 Advisory sent to sites
2017-10-10 Advisory placed on wiki


Context
=======

This advisory has been prepared as part of the effort to fulfil EGI SVG's
purpose "To minimize the risk to the EGI infrastructure arising from software
vulnerabilities"

The risk is that assessed by the group, according to the EGI SVG issue handling
procedure [R 7]  in the context of how the software is used in the EGI
infrastructure. It is the opinion of the group, we do not guarantee it to be
correct.  The risk may also be higher or lower in other deployments depending
on how the software is used.

Others may re-use this information provided they:-

1) Respect the provided TLP classification

2) Credit the EGI https://www.egi.eu/ Software Vulnerability Group



On behalf of the EGI SVG,