CVE-2017-13089
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 chunks length, but doesnt 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.
Risk Information
Base Score
8.8
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
73.113
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| retrieves files from the web (USN-3464-1) wget_1.18-2ubuntu1.1_i386.deb | Linux |
| retrieves files from the web (USN-3464-1) wget_1.18-2ubuntu1.1_amd64.deb | Linux |
| retrieves files from the web (USN-3464-1) wget_1.19.1-3ubuntu1.1_amd64.deb | Linux |
| wget security update(DSA-4008-1) wget_1.18-5_i386.deb | Linux |
| (RHSA-2017:3075) Important: wget security update wget-1.14-15.el7_4.1.x86_64.rpm | Linux |
| SUSE-SU-2017:2871-2(SUSE Linux Enterprise Desktop 12-SP2 ) wget-1.14-21.3.1.x86_64.rpm | Linux |
| SUSE-SU-2017:2871-2(SUSE Linux Enterprise Desktop 12-SP2 ) wget-debuginfo-1.14-21.3.1.x86_64.rpm | Linux |
| SUSE-SU-2017:2871-2(SUSE Linux Enterprise Desktop 12-SP2 ) wget-debugsource-1.14-21.3.1.x86_64.rpm | Linux |
| (CESA-2017:3075) Important: wget security update wget-1.14-15.el7_4.1.x86_64.rpm | Linux |
| Improper Restriction of Operations within the Bounds of a Memory Buffer Vulnerability (CVE-2017-13089) | NCM |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234