NetSight
high7.5No CVE yet

GHSA-8w48-h75v-cxpv

Duplicate Advisory: Security Report: StreamBackedCorpusView Bypasses pathsec.ENFORCE - Arbitrary Local File Read

Impact

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-x5ph-mj9p-rfr8. This link is maintained to preserve external references. ## Original Description NLTK before 3.10.0 contains an arbitrary local file read vulnerability in StreamBackedCorpusView that bypasses pathsec.ENFORCE by calling builtins.open() directly instead of pathsec.open(). Attackers who control the fileid argument can read arbitrary local files regardless of the ENFORCE setting, including sensitive system files and application credentials.

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

Affected packages

EcosystemPackageAffectedFixed in
pipnltk<= 3.9.4none recorded

Weakness classification

References