CWE
787 119
Advisory Published
CVE Published
Updated

CVE-2017-2885: Buffer Overflow

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 SoftwareAffected VersionHow 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 Linux=8.0
Debian Linux=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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-2885?

    CVE-2017-2885 is classified as a high-severity vulnerability due to its potential to cause a stack-based buffer overflow.

  • How do I fix CVE-2017-2885?

    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.

  • Which versions are affected by CVE-2017-2885?

    Affected versions of libsoup include versions up to 2.58 for Debian and versions prior to 2.59.90.1 for Red Hat.

  • Is CVE-2017-2885 still exploitable in the latest versions?

    No, CVE-2017-2885 is not exploitable in the latest versions of libsoup, as they have patched the buffer overflow vulnerability.

  • Do both server and client components of libsoup need updates for CVE-2017-2885?

    Yes, both server and client components of libsoup are affected and require updates to mitigate the CVE-2017-2885 vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203