Duplicate Advisory: Symlink escape in CorpusReader allows arbitrary local file read outside the corpus root

GHSA-8h9m-22mv-qv5r
OSV

En bref

Source
OSV
Retiré
Publiée
Mise à jour
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS_V4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Description

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-r6gq-whwq-mvg9. This link is maintained to preserve external references. ## Original Description NLTK versions before 3.9.4 contain a symlink escape vulnerability in CorpusReader.open() that allows local attackers to read arbitrary files outside the corpus root. The vulnerability exists because path validation is lexical and does not account for symlink resolution, enabling attackers to place symlinks inside the corpus root to access files outside the intended boundary.

Références

Paquets affectés

PaquetVersions
PyPI · nltkintroduced 0, last affected 3.9.3

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database