Upstream information

CVE-2017-13089 at MITRE

Description

The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 9.3 9.3
Vector AV:N/AC:M/Au:N/C:C/I:C/A:C AV:N/AC:M/Au:N/C:C/I:C/A:C
Access Vector Network Network
Access Complexity Medium Medium
Authentication None None
Confidentiality Impact Complete Complete
Integrity Impact Complete Complete
Availability Impact Complete Complete
CVSS v3 Scores
  SUSE
Base Score 8.8
Vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
SUSE Bugzilla entry: 1064715 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Desktop 12 SP2
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP2-2017-1794
SUSE Linux Enterprise Desktop 12 SP3
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP3-2017-1794
SUSE Linux Enterprise Module for Basesystem 15
  • wget >= 1.19.5-1.8
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 GA wget
SUSE Linux Enterprise Server 12 SP1-LTSS
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2017-1794
SUSE Linux Enterprise Server 12 SP2
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2017-1794
SUSE Linux Enterprise Server 12 SP3
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2017-1794
SUSE Linux Enterprise Server 12-LTSS
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-2017-1794
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-RPI-12-SP2-2017-1794
SUSE Linux Enterprise Server for SAP Applications 12 SP1
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SAP-12-SP1-2017-1794
SUSE Linux Enterprise Server for SAP Applications 12 SP1-LTSS
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2017-1794
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2017-1794
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2017-1794
SUSE Linux Enterprise Server for SAP Applications 12-LTSS
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-SLE-SERVER-12-2017-1794
SUSE OpenStack Cloud 6
  • wget >= 1.14-21.3.1
Patchnames:
SUSE-OpenStack-Cloud-6-2017-1794
openSUSE Leap 15.0
  • wget >= 1.19.5-lp150.1.1
Patchnames:
openSUSE Leap 15.0 GA wget
openSUSE Leap 42.2
  • wget >= 1.14-8.6.1
  • wget-debuginfo >= 1.14-8.6.1
  • wget-debugsource >= 1.14-8.6.1
Patchnames:
openSUSE-2017-1210
openSUSE Leap 42.3
  • wget >= 1.14-12.1
  • wget-debuginfo >= 1.14-12.1
  • wget-debugsource >= 1.14-12.1
Patchnames:
openSUSE-2017-1210


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise Desktop 12 SP2 wget Released
SUSE Linux Enterprise Desktop 12 SP3 wget Released
SUSE Linux Enterprise Server 11 SP3 LTSS wget Not affected
SUSE Linux Enterprise Server 11 SP4 wget Not affected
SUSE Linux Enterprise Server 12 GA LTSS wget Released
SUSE Linux Enterprise Server 12 SP1 LTSS wget Released
SUSE Linux Enterprise Server 12 SP2 wget Released
SUSE Linux Enterprise Server 12 SP2 for Raspberry PI wget Released
SUSE Linux Enterprise Server 12 SP3 wget Released