First published: Tue Aug 08 2017(Updated: )
A stack based buffer overflow vulnerability has been reported in GNOME libsoup 2.58. The flaw is caused due to a boundary error within the "soup_filter_input_stream_read_until()" function when parsing chunk encoded HTTP traffic and affects both the server and client functionality of libsoup. A remote attacker could exploit this flaw to cause a crash or, potentially, execute arbitrary code by sending a specially crafted HTTP request to a server using the libsoup HTTP server functionality or by tricking a user into connecting to a malicious HTTP server with an application using the libsoup HTTP client functionality. Please note that the libsoup packages as shipped with Red Hat Enterprise Linux 7 contain a "stack smashing protection" mitigation for the relevant function, which makes exploitation significantly harder. Thus, in most cases an exploitation attempt should be mitigated to a mere crash. However, successful exploitation to execute arbitrary code can't be ruled out entirely.
Credit: talos-cna@cisco.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/libsoup2.4 | 2.64.2-2 2.72.0-2 2.74.3-1 | |
redhat/libsoup | <2.59.90.1 | 2.59.90.1 |
redhat/libsoup | <2.58.2 | 2.58.2 |
libsoup | =2.58 | |
Debian | =8.0 | |
Debian | =9.0 | |
Red Hat Enterprise Linux Desktop | =7.0 | |
Red Hat Enterprise Linux Server | =7.0 | |
Red Hat Enterprise Linux Server | =7.4 | |
Red Hat Enterprise Linux Server | =7.4 | |
Red Hat Enterprise Linux Server | =7.5 | |
Red Hat Enterprise Linux Server | =7.4 | |
Red Hat Enterprise Linux Workstation | =7.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-2885 is classified as a high-severity vulnerability due to its potential to cause a stack-based buffer overflow.
To fix CVE-2017-2885, upgrade your libsoup package to version 2.64.2-2 or later if using Debian, or 2.59.90.1 or later if using Red Hat.
Affected versions of libsoup include versions up to 2.58 for Debian and versions prior to 2.59.90.1 for Red Hat.
No, CVE-2017-2885 is not exploitable in the latest versions of libsoup, as they have patched the buffer overflow vulnerability.
Yes, both server and client components of libsoup are affected and require updates to mitigate the CVE-2017-2885 vulnerability.