nday
CVE-2017-13089

GNU Wget: stack overflow in HTTP protocol handling

GNU Project / Wget

Analyse technique publiée 6 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

buffer overflow / out-of-bounds write
CWE-119, stated by NVD's analystsCWE-121, stated by the CNA certcc et NVD, republishing [email protected]
network
AV:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA certcc
no authentication required
PR:N in CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.0) from the CNA certcc
étape actuelle
ANA
divulgation
délai avant analyse
T+6d
CVSS
8.8 HIGH v3.0

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2017-10-27T19:00Z
PATcorrectif
aucune donnée
ANAanalyse
2017-11-02T09:37Z
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.0 vector from the CVE record, scored by the CNA certcc.

Journal des événements

+DISdivulgation

Fiche CVE publiée par certcc. CVSS 8.8, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "id": 172245,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2017-13089",
  "occurred_at": "2017-10-27T19:00:00Z",
  "observed_at": "2026-11-13T05:36:35.714769Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.0",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "state": "PUBLISHED",
    "date_published": "2017-10-27T19:00:00.000Z",
    "assigner_short_name": "certcc"
  }
}
+ANAanalyse technique

Avis de sécurité de Synology : « Synology-SA-17:62 Wget ».

source advisory s8:1163 · importé en masse par nday le · brut
{
  "id": 553366,
  "type": "analysis_published",
  "source": "advisory",
  "url": "https://www.synology.com/en-global/support/security/Synology_SA_17_62_Wget",
  "occurred_at": "2017-11-02T09:37:11Z",
  "observed_at": "2026-11-26T12:44:57.728493Z",
  "is_backfill": true,
  "dedupe_key": "s8:1163",
  "detail": {
    "title": "Synology-SA-17:62 Wget",
    "vendor": "Synology",
    "precision": "time",
    "source_id": 8
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.