CVE-2017-13090
CVSS V2 High 9.3
CVSS V3 High 8.8
Description
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.
Overview
- CVE ID
- CVE-2017-13090
- Assigner
- cret@cert.org
- Vulnerability Status
- Modified
- Published Version
- 2017-10-27T19:29:00
- Last Modified Date
- 2017-12-30T02:29:01
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:* | 1 | OR | 1.19.1 | |
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:C/I:C/A:C
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- COMPLETE
- Integrity Impact
- COMPLETE
- Availability Impact
- COMPLETE
- Base Score
- 9.3
- Severity
- HIGH
- Exploitability Score
- 8.6
- Impact Score
- 10
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html | Issue Tracking Patch Third Party Advisory |
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=ba6b44f6745b14dce414761a8e4b35d31b176bba | Issue Tracking Patch Third Party Advisory |
http://www.securitytracker.com/id/1039661 | Issue Tracking Third Party Advisory VDB Entry |
http://www.securityfocus.com/bid/101590 | Issue Tracking Third Party Advisory VDB Entry |
http://www.debian.org/security/2017/dsa-4008 | Issue Tracking Third Party Advisory |
https://security.gentoo.org/glsa/201711-06 | Issue Tracking Third Party Advisory |
https://access.redhat.com/errata/RHSA-2017:3075 | |
https://www.synology.com/support/security/Synology_SA_17_62_Wget |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-13090 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-13090 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:53:56 | Added to TrackCVE | |||
2022-12-02 22:36:18 | cert@cert.org | cret@cert.org | CVE Assigner | updated |
2022-12-02 22:36:18 | 2017-10-27T19:29Z | 2017-10-27T19:29:00 | CVE Published Date | updated |
2022-12-02 22:36:18 | 2017-12-30T02:29:01 | CVE Modified Date | updated | |
2022-12-02 22:36:18 | Modified | Vulnerability Status | updated |