DSA-4008-1
Active Unknownwget - security update
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
DSA/DLA structured-text list| CVE | Publisher evidence |
|---|---|
| CVE-2017-13089 | https://security-tracker.debian.org/tracker/CVE-2017-13089 |
| CVE-2017-13090 | https://security-tracker.debian.org/tracker/CVE-2017-13090 |
Description
CVE-2017-13089: 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
Read full publisher description 1282 characters
CVE-2017-13089: 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. CVE-2017-13090: The retr.c:fd_read_body() function is called when processing OK responses. 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 read the chunk in pieces of 8192 bytes by using the MIN() macro, but ends up passing the negative chunk length to retr.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. The attacker can corrupt malloc metadata after the allocated buffer.
No solution guidance was provided.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to this occurrence- Package role
- Source package
- Ecosystem
- Debian:stretch
- Fixed version
- 1.18-5+deb9u1
Affected ranges and events
-
ECOSYSTEM
- Fixed at 1.18-5+deb9u1
-
1wgetSource package
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
3- DSA-4008-1 https://www.debian.org/security/2017/dsa-4008
- CVE-2017-13089 https://security-tracker.debian.org/tracker/CVE-2017-13089
- CVE-2017-13090 https://security-tracker.debian.org/tracker/CVE-2017-13090
Provenance
- Schema version
- Unknown
- Parser version
- debian-dsa-dla-tracker/1
- Attribution
- Debian Security Team
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| structured_advisory_list | https://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DSA/list | Unknown | 67761904532230123f7f0d27fccf9ed4cd3207d53b79765fe6eed98455e9dc7b | debian-dsa-dla-tracker/1 | Unknown |