NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root (nltk nltk)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 14 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Produits affectés
- nltk · nltk
- Statut NVD
- Awaiting Analysis
Rechercher sur…
Description
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.9.4 to 3.10.3, NLTK ZIP package extraction can write through an existing in-root hardlink whose other link points outside the NLTK data root. A local attacker who can prepare the extraction target can cause a package member write to overwrite an out-of-root file, violating the pathsec containment boundary and affecting integrity and availability. This issues is fixed in version 3.10.4.
Faiblesses (CWE)
Références
- https://github.com/nltk/nltk/security/advisories/GHSA-wr3g-j6qj-xpgh
- https://github.com/nltk/nltk/pull/3753
- https://github.com/nltk/nltk/commit/0e9898b7615b4ab3b023e868212316a489ece4f0
- https://github.com/nltk/nltk/commit/cf12a5e6a439fe1d722acd53d4309911faaaaf78
- https://github.com/nltk/nltk/releases/tag/v3.10.4
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | GitHub_M |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-wr3g-j6qj-xpgh — NLTK: ZIP package extraction follows in-root hardlinks and overwrites files outside the NLTK data root
Références européennes
- ENISA EUVD · EUVD-2026-130441
- GCVE · GCVE-0-2026-128135
Produits affectés
| Produit | Versions affectées |
|---|---|
| nltk · nltk | affectée : >= 3.9.4, < 3.10.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |