NetSight
high6.5No CVE yet

GHSA-79ph-w9m5-4v5m

Duplicate Advisory: FileSystemPathPointer.open() sandbox check is dead code — arbitrary file read via file:// protocol

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-72r2-7mfr-5xr9. This link is maintained to preserve external references. ## Original Description NLTK versions before 3.10.0 contain a logic bug in FileSystemPathPointer.open() where the sandbox validation check compares a normalized path against itself, making the security check permanently inert. Attackers can pass file:// URLs to nltk.data.load() to read arbitrary files accessible to the process user, including credentials and configuration files.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.

Affected packages

EcosystemPackageAffectedFixed in
pipnltk<= 3.9.3none recorded

Weakness classification

References