CVE-2017-13090
Summary
| CVE | CVE-2017-13090 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-10-27 19:29:00 UTC |
| Updated | 2017-12-30 02:29:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| wget Buffer Overflows in Processing HTTP Data Lets Remote Users Execute Arbitrary Code - SecurityTracker |
SECTRACK |
www.securitytracker.com |
Issue Tracking, Third Party Advisory, VDB Entry |
| wget.git - GNU Wget |
CONFIRM |
git.savannah.gnu.org |
Issue Tracking, Patch, Third Party Advisory |
| Debian -- Security Information -- DSA-4008-1 wget |
DEBIAN |
www.debian.org |
Issue Tracking, Third Party Advisory |
| GNU Wget: Multiple vulnerabilities (GLSA 201711-06) — Gentoo Security |
GENTOO |
security.gentoo.org |
Issue Tracking, Third Party Advisory |
| Red Hat Customer Portal |
REDHAT |
access.redhat.com |
|
| GNU wget CVE-2017-13090 Heap Buffer Overflow Vulnerability |
BID |
www.securityfocus.com |
Issue Tracking, Third Party Advisory, VDB Entry |
| Synology-SA-17:62 Wget | Synology Inc. |
CONFIRM |
www.synology.com |
|
| Viestintävirasto -
Critical vulnerabilities in Wget |
MISC |
www.viestintavirasto.fi |
Issue Tracking, Patch, Third Party Advisory |
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 378216 Virtuozzo Linux Security Update for wget (VZLSA-2017:3075)
- 500735 Alpine Linux Security Update for wget
- 504511 Alpine Linux Security Update for wget
- 710494 Gentoo Linux GNU Wget Multiple Vulnerabilities (GLSA 201711-06)